From f6a72b69f8660ec1aaa6fb00ee9907e798835a25 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Nov 2020 21:02:35 +0100 Subject: Ensure that modules always have an ID --- src/PatchageModule.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/PatchageModule.cpp') 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)); -- cgit v1.2.1