Skip to content

Commit 4d9d6c9

Browse files
committed
fix: distortion mode should be disabled when shape panel is disabled
1 parent fdcd255 commit 4d9d6c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Source/Panels/ControlPanel/BandPanel.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@ void BandPanel::setupComponentGroups()
214214
&dcFilterLabel
215215
};
216216

217+
for (auto& modeBox : distortionModes)
218+
shapeComponents.add(&modeBox);
219+
217220
compressorComponents = {
218221
modulatableSliderComponents.at(COMP_THRESH_NAME).get(),
219222
modulatableSliderComponents.at(COMP_RATIO_NAME).get(),

0 commit comments

Comments
 (0)