diff --git a/src/effects/chains/quickeffectchain.cpp b/src/effects/chains/quickeffectchain.cpp index 870cba73f7b..21a3c239401 100644 --- a/src/effects/chains/quickeffectchain.cpp +++ b/src/effects/chains/quickeffectchain.cpp @@ -21,7 +21,7 @@ QuickEffectChain::QuickEffectChain(const QString& group, &EffectChainPresetManager::effectChainPresetListUpdated, this, &QuickEffectChain::slotPresetListUpdated); - m_pControlNumPresetsAvailable->forceSet(m_pChainPresetManager->numQuickEffectPresets()); + m_pControlNumChainPresets->forceSet(m_pChainPresetManager->numQuickEffectPresets()); connect(m_pChainPresetManager.data(), &EffectChainPresetManager::quickEffectChainPresetListUpdated, this, diff --git a/src/effects/effectchain.cpp b/src/effects/effectchain.cpp index 1c7742ec7bb..b7bee10c518 100644 --- a/src/effects/effectchain.cpp +++ b/src/effects/effectchain.cpp @@ -41,10 +41,10 @@ EffectChain::EffectChain(const QString& group, ConfigKey(m_group, "num_effectslots")); m_pControlNumEffectSlots->setReadOnly(); - m_pControlNumPresetsAvailable = std::make_unique( - ConfigKey(m_group, "num_presetsavailable")); - m_pControlNumPresetsAvailable->set(m_pChainPresetManager->numPresets()); - m_pControlNumPresetsAvailable->setReadOnly(); + m_pControlNumChainPresets = std::make_unique( + ConfigKey(m_group, "num_chain_presets")); + m_pControlNumChainPresets->set(m_pChainPresetManager->numPresets()); + m_pControlNumChainPresets->setReadOnly(); connect(m_pChainPresetManager.data(), &EffectChainPresetManager::effectChainPresetListUpdated, this, @@ -372,7 +372,7 @@ void EffectChain::slotChannelStatusChanged( void EffectChain::slotPresetListUpdated() { setControlLoadedPresetIndex(presetIndex()); - m_pControlNumPresetsAvailable->forceSet(numPresets()); + m_pControlNumChainPresets->forceSet(numPresets()); } void EffectChain::enableForInputChannel(const ChannelHandleAndGroup& handleGroup) { diff --git a/src/effects/effectchain.h b/src/effects/effectchain.h index fe02adcda7e..4b54fa155c7 100644 --- a/src/effects/effectchain.h +++ b/src/effects/effectchain.h @@ -108,7 +108,7 @@ class EffectChain : public QObject { EffectsMessengerPointer m_pMessenger; std::unique_ptr m_pControlChainMix; std::unique_ptr m_pControlChainSuperParameter; - std::unique_ptr m_pControlNumPresetsAvailable; + std::unique_ptr m_pControlNumChainPresets; QList m_effectSlots; protected slots: