summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-07 19:00:42 +0000
committerDavid Robillard <d@drobilla.net>2011-12-07 19:00:42 +0000
commit23ebb35d0e6bbf8e1912f98a05d62d29ae907ade (patch)
tree9f8dd0dccfaa50495a0358d25b56b339b1ed8ef7 /src/gui
parent1d4979ede23d756e3116d0f3073727c5a267b570 (diff)
downloadingen-23ebb35d0e6bbf8e1912f98a05d62d29ae907ade.tar.gz
ingen-23ebb35d0e6bbf8e1912f98a05d62d29ae907ade.tar.bz2
ingen-23ebb35d0e6bbf8e1912f98a05d62d29ae907ade.zip
Fix event handling.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3829 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/PatchCanvas.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index 0fd58f6e..8254b4ed 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -113,6 +113,13 @@ PatchCanvas::PatchCanvas(App& app,
sigc::bind(sigc::mem_fun(this, &PatchCanvas::menu_add_port),
"event_out", "Event Out", "http://lv2plug.in/ns/ext/event#EventPort", true));
+ signal_event.connect(
+ sigc::mem_fun(this, &PatchCanvas::on_event));
+ signal_connect.connect(
+ sigc::mem_fun(this, &PatchCanvas::connect));
+ signal_disconnect.connect(
+ sigc::mem_fun(this, &PatchCanvas::disconnect));
+
// Connect to model signals to track state
_patch->signal_new_node().connect(
sigc::mem_fun(this, &PatchCanvas::add_node));