summaryrefslogtreecommitdiffstats
path: root/src/gui/LoadRemotePatchWindow.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-01-03 17:57:22 +0000
committerDavid Robillard <d@drobilla.net>2010-01-03 17:57:22 +0000
commit29b77e922d7fd883795b04eadd528eca21a37a2f (patch)
tree0cc1ce9f6bea85b1fddf45be09d8114ff56ad00b /src/gui/LoadRemotePatchWindow.cpp
parent10616b98af494614d84eff40d94917be1364988c (diff)
downloadingen-29b77e922d7fd883795b04eadd528eca21a37a2f.tar.gz
ingen-29b77e922d7fd883795b04eadd528eca21a37a2f.tar.bz2
ingen-29b77e922d7fd883795b04eadd528eca21a37a2f.zip
Remove patch clear command (fix ticket #375).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2332 a436a847-0d15-0410-975c-d299462d15a1
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();