summaryrefslogtreecommitdiffstats
path: root/src/gui/LoadRemotePatchWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/LoadRemotePatchWindow.cpp')
-rw-r--r--src/gui/LoadRemotePatchWindow.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/LoadRemotePatchWindow.cpp b/src/gui/LoadRemotePatchWindow.cpp
index b992cdd5..0359b34c 100644
--- a/src/gui/LoadRemotePatchWindow.cpp
+++ b/src/gui/LoadRemotePatchWindow.cpp
@@ -37,7 +37,6 @@ namespace GUI {
LoadRemotePatchWindow::LoadRemotePatchWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& xml)
: Dialog(cobject)
- , _replace(true)
{
xml->get_widget("load_remote_patch_treeview", _treeview);
xml->get_widget("load_remote_patch_uri_entry", _uri_entry);
@@ -137,9 +136,6 @@ LoadRemotePatchWindow::open_clicked()
optional<Path> parent;
optional<Symbol> symbol;
- if (_replace)
- App::instance().engine()->clear_patch(_patch->path());
-
if (!_patch->path().is_root())
parent = _patch->path().parent();