diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/NodeModule.cpp | 3 | ||||
-rw-r--r-- | src/gui/PatchPortModule.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index cc816872..108cc2e4 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -61,6 +61,9 @@ NodeModule::NodeModule(PatchCanvas& canvas, node->signal_moved().connect( sigc::mem_fun(this, &NodeModule::rename)); + signal_moved.connect( + sigc::mem_fun(this, &NodeModule::store_location)); + const PluginModel* plugin = dynamic_cast<const PluginModel*>(node->plugin()); if (plugin) { plugin->signal_changed().connect( diff --git a/src/gui/PatchPortModule.cpp b/src/gui/PatchPortModule.cpp index ef886ddd..98326402 100644 --- a/src/gui/PatchPortModule.cpp +++ b/src/gui/PatchPortModule.cpp @@ -51,6 +51,9 @@ PatchPortModule::PatchPortModule(PatchCanvas& canvas, model->signal_property().connect( sigc::mem_fun(this, &PatchPortModule::property_changed)); + + signal_moved.connect( + sigc::mem_fun(this, &PatchPortModule::store_location)); } PatchPortModule* |