mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 16:49:41 +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;
|
||||
#endif
|
||||
|
||||
// Do not copy these!
|
||||
hFFT = 0;
|
||||
window = 0;
|
||||
// Invalidate the caches
|
||||
DestroyWindows();
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
@ -229,7 +229,8 @@ void WaveformPrefs::OnApply(wxCommandEvent &)
|
||||
|
||||
void WaveformPrefs::EnableDisableRange()
|
||||
{
|
||||
mRangeChoice->Enable(mScaleChoice->GetSelection() == 1);
|
||||
mRangeChoice->Enable
|
||||
(mScaleChoice->GetSelection() == WaveformSettings::stLogarithmic);
|
||||
}
|
||||
|
||||
BEGIN_EVENT_TABLE(WaveformPrefs, PrefsPanel)
|
||||
|
Loading…
x
Reference in New Issue
Block a user