summaryrefslogtreecommitdiff
path: root/plugingui/directory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/directory.cc')
-rw-r--r--plugingui/directory.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/directory.cc b/plugingui/directory.cc
index 1069856..9053f8d 100644
--- a/plugingui/directory.cc
+++ b/plugingui/directory.cc
@@ -61,7 +61,7 @@ Directory::~Directory()
void Directory::setPath(std::string path)
{
DEBUG(directory, "Setting path to '%s'\n", path.c_str());
- this->_path = path;
+ this->_path = cleanPath(path);
refresh();
}