diff options
author | Daniel Schürmann <daschuer@mixxx.org> | 2022-03-19 09:17:12 +0100 |
---|---|---|
committer | Daniel Schürmann <daschuer@mixxx.org> | 2022-03-19 09:17:12 +0100 |
commit | 5663ae242e01546c15f9f8033512aea5cf6b987f (patch) | |
tree | 52e013028bc6895e2abb3ec1e41f20e5776cfe0d /src/effects/chains | |
parent | f5bb9a1b04ba819c5f6d7caf894509fe3888c99d (diff) |
Enable the effects AFTER we have added effect slots
Diffstat (limited to 'src/effects/chains')
-rw-r--r-- | src/effects/chains/equalizereffectchain.cpp | 1 | ||||
-rw-r--r-- | src/effects/chains/pergroupeffectchain.cpp | 1 | ||||
-rw-r--r-- | src/effects/chains/quickeffectchain.cpp | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/src/effects/chains/equalizereffectchain.cpp b/src/effects/chains/equalizereffectchain.cpp index cabb617fc6..320406a893 100644 --- a/src/effects/chains/equalizereffectchain.cpp +++ b/src/effects/chains/equalizereffectchain.cpp @@ -16,6 +16,7 @@ EqualizerEffectChain::EqualizerEffectChain( new ControlObject(ConfigKey(handleAndGroup.name(), "filterWaveformEnable"))) { // Add a single effect slot addEffectSlot(formatEffectSlotGroup(handleAndGroup.name())); + enableForInputChannel(handleAndGroup); m_effectSlots[0]->setEnabled(true); // DlgPrefEq loads the Effect with loadEffectToGroup diff --git a/src/effects/chains/pergroupeffectchain.cpp b/src/effects/chains/pergroupeffectchain.cpp index 1630f99dcf..745a392079 100644 --- a/src/effects/chains/pergroupeffectchain.cpp +++ b/src/effects/chains/pergroupeffectchain.cpp @@ -18,5 +18,4 @@ PerGroupEffectChain::PerGroupEffectChain( // Register this channel alone with the chain slot. registerInputChannel(handleAndGroup); - enableForInputChannel(handleAndGroup); } diff --git a/src/effects/chains/quickeffectchain.cpp b/src/effects/chains/quickeffectchain.cpp index fb816448d1..7df93c380b 100644 --- a/src/effects/chains/quickeffectchain.cpp +++ b/src/effects/chains/quickeffectchain.cpp @@ -17,6 +17,7 @@ QuickEffectChain::QuickEffectChain( addEffectSlot(formatEffectSlotGroup(handleAndGroup.name(), i)); m_effectSlots.at(i)->setEnabled(true); } + enableForInputChannel(handleAndGroup); // The base EffectChain class constructor connects to the signal for the list of StandardEffectChain presets, // but QuickEffectChain has a separate list, so disconnect the signal which is inappropriate for this subclass. disconnect(m_pChainPresetManager.data(), |