diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 17:58:00 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:42:52 +0100 |
commit | 7240920afeb38fb12f6c0cacb1661b82bf09c1fc (patch) | |
tree | 50ec7c99452483ae4d2c0dee84a62aa02473cc32 /src | |
parent | 2a0a85a09a7c476c8015a6a5f980833febc12d25 (diff) | |
download | patchage-7240920afeb38fb12f6c0cacb1661b82bf09c1fc.tar.gz patchage-7240920afeb38fb12f6c0cacb1661b82bf09c1fc.tar.bz2 patchage-7240920afeb38fb12f6c0cacb1661b82bf09c1fc.zip |
Store location passed in signal rather than the current one
In practice, these are the same, but this is the intent of the API.
Diffstat (limited to 'src')
-rw-r--r-- | src/PatchageModule.cpp | 3 |
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 |