mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-12 14:47:43 +02:00
"Should" fix the remaining issue in bug #1081
This commit is contained in:
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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user