Bug 2269 - Linux: Graphic Eq crash

This commit is contained in:
James Crook 2020-02-17 22:17:16 +00:00
parent b2d9f7c396
commit 970061483b
1 changed files with 3 additions and 1 deletions

View File

@ -884,7 +884,9 @@ void EffectEqualization::PopulateOrExchange(ShuttleGui & S)
S.AddSpace(15,0);
{
for (int i = 0; (i < NUMBER_OF_BANDS) && (kThirdOct[i] <= mHiFreq); ++i)
// for (int i = 0; (i < NUMBER_OF_BANDS) && (kThirdOct[i] <= mHiFreq); ++i)
// May show more sliders than needed. Fixes Bug 2269
for (int i = 0; i < NUMBER_OF_BANDS; ++i)
{
TranslatableString freq = kThirdOct[i] < 1000.
? XO("%d Hz").Format((int)kThirdOct[i])