Skip to content

Commit

Permalink
EffectsManager: fix loading of chain presets with empty effects
Browse files Browse the repository at this point in the history
  • Loading branch information
Be-ing committed Apr 6, 2020
1 parent 093ce6e commit 9a78a9b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/effects/effectsmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,12 @@ void EffectsManager::loadEffectChainPreset(EffectChainSlotPointer pChainSlot,
int effectSlot = 0;
for (const auto& pEffectPreset : pPreset->effectPresets()) {
if (pEffectPreset->isEmpty()) {
pChainSlot->loadEffect(
effectSlot,
nullptr,
nullptr,
nullptr,
true);
effectSlot++;
continue;
}
Expand Down

0 comments on commit 9a78a9b

Please sign in to comment.