summaryrefslogtreecommitdiffstats
path: root/src/progs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-06-12 17:40:20 +0000
committerDavid Robillard <d@drobilla.net>2006-06-12 17:40:20 +0000
commite3600c6bd795fabff12faa4352bf3ba76b324222 (patch)
tree065356ecdd4151ceb30c822a3767401dc897c287 /src/progs
parentefee2b08f575e2c216cffa6f08a928223ab2cedb (diff)
downloadingen-e3600c6bd795fabff12faa4352bf3ba76b324222.tar.gz
ingen-e3600c6bd795fabff12faa4352bf3ba76b324222.tar.bz2
ingen-e3600c6bd795fabff12faa4352bf3ba76b324222.zip
Disconnecting working in GTK client
git-svn-id: http://svn.drobilla.net/lad/grauph@33 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/gtk/PatchController.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/progs/gtk/PatchController.cpp b/src/progs/gtk/PatchController.cpp
index 4f639340..606cc65b 100644
--- a/src/progs/gtk/PatchController.cpp
+++ b/src/progs/gtk/PatchController.cpp
@@ -72,6 +72,7 @@ PatchController::PatchController(CountedPtr<PatchModel> model)
model->new_node_sig.connect(sigc::mem_fun(this, &PatchController::add_node));
model->new_connection_sig.connect(sigc::mem_fun(this, &PatchController::connection));
+ model->removed_connection_sig.connect(sigc::mem_fun(this, &PatchController::disconnection));
}
@@ -599,7 +600,7 @@ PatchController::disconnection(const Path& src_port_path, const Path& dst_port_p
m_patch_view->canvas()->remove_connection(
src_node_name, src_port_name, dst_node_name, dst_port_name);
- patch_model()->remove_connection(src_port_path, dst_port_path);
+ //patch_model()->remove_connection(src_port_path, dst_port_path);
cerr << "FIXME: disconnection\n";
/*