diff options
Diffstat (limited to 'src/gui/LoadRemotePatchWindow.cpp')
-rw-r--r-- | src/gui/LoadRemotePatchWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/LoadRemotePatchWindow.cpp b/src/gui/LoadRemotePatchWindow.cpp index e70c6d3b..ecfe5240 100644 --- a/src/gui/LoadRemotePatchWindow.cpp +++ b/src/gui/LoadRemotePatchWindow.cpp @@ -141,7 +141,7 @@ LoadRemotePatchWindow::open_clicked() if (_replace) App::instance().engine()->clear_patch(_patch->path()); - if (_patch->path() != "/") + if (!_patch->path().is_root()) parent = _patch->path().parent(); App::instance().loader()->load_patch(true, uri, Path("/"), |