mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 08:38:39 +02:00
Fix some minor bugs in view project
This commit is contained in:
commit
ec742f76e7
@ -126,9 +126,8 @@ SpectrogramSettings &SpectrogramSettings::operator= (const SpectrogramSettings &
|
|||||||
findNotesQuantize = other.findNotesQuantize;
|
findNotesQuantize = other.findNotesQuantize;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Do not copy these!
|
// Invalidate the caches
|
||||||
hFFT = 0;
|
DestroyWindows();
|
||||||
window = 0;
|
|
||||||
}
|
}
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
@ -229,7 +229,8 @@ void WaveformPrefs::OnApply(wxCommandEvent &)
|
|||||||
|
|
||||||
void WaveformPrefs::EnableDisableRange()
|
void WaveformPrefs::EnableDisableRange()
|
||||||
{
|
{
|
||||||
mRangeChoice->Enable(mScaleChoice->GetSelection() == 1);
|
mRangeChoice->Enable
|
||||||
|
(mScaleChoice->GetSelection() == WaveformSettings::stLogarithmic);
|
||||||
}
|
}
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(WaveformPrefs, PrefsPanel)
|
BEGIN_EVENT_TABLE(WaveformPrefs, PrefsPanel)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user