diff options
-rw-r--r-- | src/gui/NodeModule.cpp | 5 | ||||
-rw-r--r-- | src/gui/PatchPortModule.cpp | 2 |
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)); } |