From ace316668cebd538873cc7b7c6b6d9d55f282f14 Mon Sep 17 00:00:00 2001 From: Be Date: Mon, 18 Oct 2021 11:11:53 -0500 Subject: [PATCH] EffectChain: make setting chain_preset_selector to 0 a no-op --- src/effects/effectchain.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/effects/effectchain.cpp b/src/effects/effectchain.cpp index 607724b57e0..a4dc0b4ce01 100644 --- a/src/effects/effectchain.cpp +++ b/src/effects/effectchain.cpp @@ -322,6 +322,9 @@ void EffectChain::slotControlChainSelector(double value) { index++; } else if (value < 0) { index--; + } else { + // Do not reload the current preset when set to 0. + return; } loadChainPreset(presetAtIndex(index)); }