diff options
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/filebrowser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/filebrowser.cc b/plugingui/filebrowser.cc index 3db8e0a..68a80b0 100644 --- a/plugingui/filebrowser.cc +++ b/plugingui/filebrowser.cc @@ -90,7 +90,7 @@ void FileBrowser::setPath(const std::string& path) { INFO(filebrowser, "Setting path to '%s'\n", path.c_str()); - if(!path.empty()) + if(!path.empty() && Directory::exists(path)) { dir.setPath(Directory::pathDirectory(path)); } |