diff options
Diffstat (limited to 'src/gui/BreadCrumbBox.cpp')
-rw-r--r-- | src/gui/BreadCrumbBox.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/BreadCrumbBox.cpp b/src/gui/BreadCrumbBox.cpp index 7edaed9f..6a131806 100644 --- a/src/gui/BreadCrumbBox.cpp +++ b/src/gui/BreadCrumbBox.cpp @@ -19,9 +19,12 @@ #include "BreadCrumb.hpp" #include "App.hpp" #include "client/SigClientInterface.hpp" + namespace Ingen { namespace GUI { +using namespace std; +using namespace Raul; BreadCrumbBox::BreadCrumbBox() : Gtk::HBox() @@ -120,7 +123,7 @@ BreadCrumbBox::build(Path path, SharedPtr<PatchView> view) root_but->set_active(root_but->path() == _active_path); Path working_path = "/"; - string suffix = path.substr(1); + string suffix = path.chop_scheme().substr(1); while (suffix.length() > 0) { if (suffix[0] == '/') suffix = suffix.substr(1); |