From e3600c6bd795fabff12faa4352bf3ba76b324222 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 12 Jun 2006 17:40:20 +0000 Subject: Disconnecting working in GTK client git-svn-id: http://svn.drobilla.net/lad/grauph@33 a436a847-0d15-0410-975c-d299462d15a1 --- src/progs/gtk/PatchController.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/progs') 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 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"; /* -- cgit v1.2.1