Fix for bug #1517 - Equalization sliders bug
The bug was that when the Equalization effect opens in Graphics mode, the sliders are set to zero, and don't do the right thing. This was caused by my incorrect fix for bug #1346. Fix is to call UpdateGraphic to set the sliders up. Call to UpdateDraw also added, which includes the appropriate calls to Show, rather than have these in PopulateOrExchange.
This commit is contained in:
parent
3bb2a8b170
commit
fcb6221b2c
|
@ -948,13 +948,6 @@ void EffectEqualization::PopulateOrExchange(ShuttleGui & S)
|
|||
|
||||
// szrL->SetMinSize( szrI->GetSize() );
|
||||
|
||||
// switch to "show" settings for draw mode if necessary
|
||||
if (mDrawMode) {
|
||||
szrV->Show(szrG, false);
|
||||
szrH->Show(szrI, false);
|
||||
szrH->Show(szrL, true);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -989,10 +982,12 @@ bool EffectEqualization::TransferDataToWindow()
|
|||
if (mDrawMode)
|
||||
{
|
||||
mDraw->SetValue(true);
|
||||
UpdateDraw();
|
||||
}
|
||||
else
|
||||
{
|
||||
mGraphic->SetValue(true);
|
||||
UpdateGraphic();
|
||||
}
|
||||
|
||||
TransferDataFromWindow();
|
||||
|
|
Loading…
Reference in New Issue