diff --git a/src/Merge.cpp b/src/Merge.cpp index 71c1579..ca07341 100644 --- a/src/Merge.cpp +++ b/src/Merge.cpp @@ -70,7 +70,7 @@ struct Merge : Module { struct MergeChannelItem : MenuItem { Merge *module; int channels; - void onAction(const event::Action &e) override { + void onAction(const ActionEvent &e) override { module->channels = channels; } }; diff --git a/src/Unity.cpp b/src/Unity.cpp index e2ff5b9..c6a159d 100644 --- a/src/Unity.cpp +++ b/src/Unity.cpp @@ -100,7 +100,7 @@ struct Unity : Module { struct UnityMergeItem : MenuItem { Unity *unity; - void onAction(const event::Action &e) override { + void onAction(const ActionEvent &e) override { unity->merge ^= true; } void step() override {