diff options
| author | Tomas Bzatek <tbzatek@tbzatek.englab.brq.redhat.com> | 2008-08-22 11:30:29 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@tbzatek.englab.brq.redhat.com> | 2008-08-22 11:30:29 +0200 |
| commit | cc26194868d09d397b39c22423c25f6bfe9fc5fc (patch) | |
| tree | bd1542aca5b124006ed80adc8912afb80c306405 /UMain.pas | |
| parent | b5af37db7650be18ac54c8ca7fe3cf476a2315ee (diff) | |
| download | tuxcmd-cc26194868d09d397b39c22423c25f6bfe9fc5fc.tar.xz | |
Workaround configuration lost on slower systems
Diffstat (limited to 'UMain.pas')
| -rw-r--r-- | UMain.pas | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1112,6 +1112,8 @@ begin end; end; + ApplicationShuttingDown := True; // Avoid emitting config files refresh event + // Close all active connections if b then begin if (not LeftPanelNotebook.Visible) and (LeftPanelEngine is TVFSEngine) then CloseVFS(True, True) @@ -4591,6 +4593,10 @@ var ChangedMainGUI, ChangedAssoc, ChangedBookmarks, ChangedMounter, ChangedConnM begin try if (csDestroying in ComponentState) or (not Assigned(FMain)) then Exit; + if ApplicationShuttingDown then begin + DebugMsg([' *** TFMain.HandleFormFocusIn called when ApplicationShuttingDown, possible bug caught ***']); + Exit; + end; if InternalLockUnlocked then begin APerformRefresh := ConfFocusRefresh; |
