diff options
Diffstat (limited to 'UMain.pas')
| -rw-r--r-- | UMain.pas | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -4601,10 +4601,10 @@ begin ReadBookmarks; RefreshBookmarksMenu; end; - if ChangedConnMgr then begin +(* if ChangedConnMgr then begin DebugMsg(['Connection manager file changed ---> performing refresh']); ReadConnections; - end; + end; *) try InternalLock; if (ChangedMainGUI or ChangedAssoc or ChangedMounter) and (Application.MessageBox(LANGSomeOtherInstanceChanged, @@ -5890,8 +5890,10 @@ begin FConnectionManager := TFConnectionManager.Create(Self); b := FConnectionManager.Run = mbOK; - if FConnectionManager.ListView.Selected <> nil - then ConnInfo := FConnectionManager.ListView.Selected.AsPointer(0); + if FConnectionManager.ListView.Selected <> nil then begin + ConnInfo := FConnectionManager.ListView.Selected.AsPointer(0); + ConfConnMgrActiveItem := FConnectionManager.ListView.Selected.Index; + end; WriteConnections; // Save the list to the file if b then begin |
