summaryrefslogtreecommitdiffstats
path: root/src/PatchageModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageModule.cpp')
-rw-r--r--src/PatchageModule.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp
index c871036..31c30a8 100644
--- a/src/PatchageModule.cpp
+++ b/src/PatchageModule.cpp
@@ -117,8 +117,7 @@ PatchageModule::load_location()
void
PatchageModule::store_location(double x, double y)
{
- const Coord loc{get_x(), get_y()};
- _app->conf()->set_module_location(_name, _type, loc);
+ _app->conf()->set_module_location(_name, _type, {x, y});
}
void