diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 21:02:35 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:52:29 +0100 |
commit | f6a72b69f8660ec1aaa6fb00ee9907e798835a25 (patch) | |
tree | bb795dfd30c383deaa76aa792c709cf8f0218f68 /src/PatchageModule.cpp | |
parent | 2e7a3b3bc94f8d68475883c845f31ee42cba115c (diff) | |
download | patchage-f6a72b69f8660ec1aaa6fb00ee9907e798835a25.tar.gz patchage-f6a72b69f8660ec1aaa6fb00ee9907e798835a25.tar.bz2 patchage-f6a72b69f8660ec1aaa6fb00ee9907e798835a25.zip |
Ensure that modules always have an ID
Diffstat (limited to 'src/PatchageModule.cpp')
-rw-r--r-- | src/PatchageModule.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp index 31c30a8..574757f 100644 --- a/src/PatchageModule.cpp +++ b/src/PatchageModule.cpp @@ -23,6 +23,7 @@ PatchageModule::PatchageModule(Patchage* app, const std::string& name, ModuleType type, + ClientID id, double x, double y) : Module(*app->canvas(), name, x, y) @@ -30,6 +31,7 @@ PatchageModule::PatchageModule(Patchage* app, , _menu(nullptr) , _name(name) , _type(type) + , _id(std::move(id)) { signal_event().connect(sigc::mem_fun(this, &PatchageModule::on_event)); |