diff options
-rw-r--r-- | gui/browser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/browser.cpp b/gui/browser.cpp index 961f2ced4c..1d20546c21 100644 --- a/gui/browser.cpp +++ b/gui/browser.cpp @@ -159,6 +159,9 @@ BrowserDialog::BrowserDialog(const char *title, bool dirBrowser) } void BrowserDialog::open() { + // Call super implementation + Dialog::open(); + if (ConfMan.hasKey("browser_lastpath")) _node = Common::FSNode(ConfMan.get("browser_lastpath")); if (!_node.isDirectory()) @@ -166,9 +169,6 @@ void BrowserDialog::open() { // Alway refresh file list updateListing(); - - // Call super implementation - Dialog::open(); } void BrowserDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) { |