From 1758056d80b4e26e0beee446325cc0cadd9fb6c4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 8 Dec 2011 01:19:22 +0000 Subject: Fix node moving (inform user via "moved" signal). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3833 a436a847-0d15-0410-975c-d299462d15a1 --- src/PatchageModule.cpp | 2 +- src/PatchageModule.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; } -- cgit v1.2.1