summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-10 05:21:00 +0000
committerDavid Robillard <d@drobilla.net>2011-12-10 05:21:00 +0000
commitb00ee8560f7af8042db237af966ef53550f39343 (patch)
treefb728849a30b9b0e0ed04edf9c220cece5747ac5 /src/gui
parent971ba0227ab563bf264cf19c967679796209708d (diff)
downloadingen-b00ee8560f7af8042db237af966ef53550f39343.tar.gz
ingen-b00ee8560f7af8042db237af966ef53550f39343.tar.bz2
ingen-b00ee8560f7af8042db237af966ef53550f39343.zip
Fix event handling.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3852 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/NodeModule.cpp5
-rw-r--r--src/gui/PatchPortModule.cpp2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index bed94aac..c45273f5 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -61,7 +61,10 @@ NodeModule::NodeModule(PatchCanvas& canvas,
node->signal_moved().connect(
sigc::mem_fun(this, &NodeModule::rename));
- signal_moved.connect(
+ signal_event().connect(
+ sigc::mem_fun(this, &NodeModule::on_event));
+
+ signal_moved().connect(
sigc::mem_fun(this, &NodeModule::store_location));
const PluginModel* plugin = dynamic_cast<const PluginModel*>(node->plugin());
diff --git a/src/gui/PatchPortModule.cpp b/src/gui/PatchPortModule.cpp
index 4fa11acc..810b1beb 100644
--- a/src/gui/PatchPortModule.cpp
+++ b/src/gui/PatchPortModule.cpp
@@ -52,7 +52,7 @@ PatchPortModule::PatchPortModule(PatchCanvas& canvas,
model->signal_property().connect(
sigc::mem_fun(this, &PatchPortModule::property_changed));
- signal_moved.connect(
+ signal_moved().connect(
sigc::mem_fun(this, &PatchPortModule::store_location));
}