summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-08 01:19:22 +0000
committerDavid Robillard <d@drobilla.net>2011-12-08 01:19:22 +0000
commit1758056d80b4e26e0beee446325cc0cadd9fb6c4 (patch)
tree8116f697140a8422815ef6e15b2c2e00fecc27a9 /src
parentef96010d0f1390f0d3afdbd56cc2eea6400ebf70 (diff)
downloadpatchage-1758056d80b4e26e0beee446325cc0cadd9fb6c4.tar.gz
patchage-1758056d80b4e26e0beee446325cc0cadd9fb6c4.tar.bz2
patchage-1758056d80b4e26e0beee446325cc0cadd9fb6c4.zip
Fix node moving (inform user via "moved" signal).
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3833 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/PatchageModule.cpp2
-rw-r--r--src/PatchageModule.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp
index 8b6a2ec..a78ee57 100644
--- a/src/PatchageModule.cpp
+++ b/src/PatchageModule.cpp
@@ -108,7 +108,7 @@ PatchageModule::load_location()
}
void
-PatchageModule::store_location()
+PatchageModule::store_location(double x, double y)
{
Coord loc(get_x(), get_y());
_app->state_manager()->set_module_location(_name, _type, loc);
diff --git a/src/PatchageModule.hpp b/src/PatchageModule.hpp
index f429831..8b7e3ef 100644
--- a/src/PatchageModule.hpp
+++ b/src/PatchageModule.hpp
@@ -50,7 +50,7 @@ public:
void load_location();
void menu_disconnect_all();
void show_dialog() {}
- void store_location();
+ void store_location(double x, double y);
ModuleType type() const { return _type; }