summaryrefslogtreecommitdiff
path: root/plugingui/directory.cc
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2013-05-15 18:14:01 +0200
committerJonas Suhr Christensen <jsc@umbraculum.org>2013-05-15 18:14:01 +0200
commit976ce209938be1bfc088d5f6cdd523a4089e1dd0 (patch)
tree8ef16aeefd3a4d9a675dc140c0daa84bdf8bb9b0 /plugingui/directory.cc
parentb61c55a43c21a95234d79f6afd9a64964f5fffec (diff)
Make it possible to type a path and have browser switch accordingly.
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();
}