summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugingui/filebrowser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/filebrowser.cc b/plugingui/filebrowser.cc
index d429a21..26d58b1 100644
--- a/plugingui/filebrowser.cc
+++ b/plugingui/filebrowser.cc
@@ -78,7 +78,7 @@ static void changeDir(void *ptr) {
INFO(filebrowser, "Changing path to '%s'\n", (dir->path() + "/" + value).c_str());
#ifdef WIN32
- if(!value.empty() && dir->isRoot()) {
+ if(!value.empty() && Directory::isRoot(dir->path())) {
dir->setPath(value);
return;
}