"Should" fix the remaining issue in bug #1081

This commit is contained in:
Leland Lucius 2015-08-27 10:15:02 -05:00
parent 24538020ba
commit 2a234d86f8
1 changed files with 1 additions and 3 deletions

View File

@ -399,7 +399,7 @@ bool EffectEqualization::ValidateUI()
// Update unnamed curve (so it's there for next time)
//(done in a hurry, may not be the neatest -MJS)
if (mDirty && mDrawMode)
if (mDirty && !mDrawMode)
{
int numPoints = mLogEnvelope->GetNumberOfPoints();
double *when = new double[numPoints];
@ -987,12 +987,10 @@ bool EffectEqualization::TransferDataToWindow()
if (mDrawMode)
{
mDraw->SetValue(true);
UpdateDraw();
}
else
{
mGraphic->SetValue(true);
UpdateGraphic();
}
TransferDataFromWindow();