diff options
Diffstat (limited to 'src/browser.cpp')
-rw-r--r-- | src/browser.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/browser.cpp b/src/browser.cpp index d621a3fe..f1e7cff3 100644 --- a/src/browser.cpp +++ b/src/browser.cpp @@ -76,7 +76,6 @@ void Browser::SwitchTo() # ifndef WIN32 myBrowser->ChangeBrowseMode(); # endif // !WIN32 - return; } if (!isInitialized) @@ -85,6 +84,9 @@ void Browser::SwitchTo() if (hasToBeResized) Resize(); + if (isLocal()) // local browser doesn't support sorting by mtime + Config.browser_sort_by_mtime = 0; + w->Empty() ? myBrowser->GetDirectory(itsBrowsedDir) : myBrowser->UpdateItemList(); myScreen = this; RedrawHeader = 1; |