1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-12 14:47:43 +02:00

"Should" fix the remaining issue in bug

This commit is contained in:
Leland Lucius 2015-08-27 10:15:02 -05:00
parent 24538020ba
commit 2a234d86f8

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