diff options
Diffstat (limited to 'src/gui/LoadPatchWindow.cpp')
-rw-r--r-- | src/gui/LoadPatchWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/LoadPatchWindow.cpp b/src/gui/LoadPatchWindow.cpp index 573c6311..7ae755ad 100644 --- a/src/gui/LoadPatchWindow.cpp +++ b/src/gui/LoadPatchWindow.cpp @@ -137,7 +137,7 @@ LoadPatchWindow::ok_clicked() if (_replace) App::instance().engine()->clear_patch(_patch->path()); - if (_patch->path() != "/") { + if (!_patch->path().is_root()) { parent = _patch->path().parent(); symbol = _patch->symbol(); } |