[Scummvm-cvs-logs] SF.net SVN: scummvm:[35807] scummvm/trunk/gui/browser.cpp
wjpalenstijn at users.sourceforge.net
wjpalenstijn at users.sourceforge.net
Sat Jan 10 23:31:15 CET 2009
Revision: 35807
http://scummvm.svn.sourceforge.net/scummvm/?rev=35807&view=rev
Author: wjpalenstijn
Date: 2009-01-10 22:31:15 +0000 (Sat, 10 Jan 2009)
Log Message:
-----------
open browser dialog before manipulating it (fixes assert when pressing 'add game')
Modified Paths:
--------------
scummvm/trunk/gui/browser.cpp
Modified: scummvm/trunk/gui/browser.cpp
===================================================================
--- scummvm/trunk/gui/browser.cpp 2009-01-10 22:11:22 UTC (rev 35806)
+++ scummvm/trunk/gui/browser.cpp 2009-01-10 22:31:15 UTC (rev 35807)
@@ -159,6 +159,9 @@
}
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 @@
// Alway refresh file list
updateListing();
-
- // Call super implementation
- Dialog::open();
}
void BrowserDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list