commit 87b8fad339291dc0e82121eec57468f3bc2e0060 parent 5b79e55533f7652ce45e41299b330ce89f6509ec Author: dsp56300 <dsp56300@users.noreply.github.com> Date: Sat, 20 Apr 2024 12:01:31 +0200 fix possible listener id collision Diffstat:
M | source/xtJucePlugin/xtController.cpp | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/xtJucePlugin/xtController.cpp b/source/xtJucePlugin/xtController.cpp @@ -61,7 +61,7 @@ Controller::Controller(AudioPluginAudioProcessor& p, unsigned char _deviceId) : startTimer(50); - onPlayModeChanged.addListener(0, [this](bool multiMode) + onPlayModeChanged.addListener([this](bool multiMode) { requestAllPatches(); });