Skip to content

Commit

Permalink
fix bug that didn't set line index after changing preset
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryuhoo committed Jul 25, 2022
1 parent 28273fa commit 1c8d6e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Panels/SpectrogramPanel/Multiband.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ int Multiband::getFocusIndex()
void Multiband::sliderValueChanged (juce::Slider* slider)
{
lineNum = countLines();
setLineIndex();
for (int i = 0; i < lineNum; i++)
{
if (slider == &freqDividerGroup[i]->getVerticalLine())
Expand Down

0 comments on commit 1c8d6e7

Please sign in to comment.