Checking if the node isValid() is no longer an option, but isDirectory() should
serve the same purpose, I believe. svn-id: r22324
This commit is contained in:
parent
f37cfaa766
commit
24a46d5da8
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ BrowserDialog::BrowserDialog(const char *title, bool dirBrowser)
|
||||||
void BrowserDialog::open() {
|
void BrowserDialog::open() {
|
||||||
if (ConfMan.hasKey("browser_lastpath"))
|
if (ConfMan.hasKey("browser_lastpath"))
|
||||||
_node = FilesystemNode(ConfMan.get("browser_lastpath"));
|
_node = FilesystemNode(ConfMan.get("browser_lastpath"));
|
||||||
if (!_node.isValid())
|
if (!_node.isDirectory())
|
||||||
_node = FilesystemNode();
|
_node = FilesystemNode();
|
||||||
|
|
||||||
// Alway refresh file list
|
// Alway refresh file list
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue