1
0
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:
Paul Licameli 2015-08-17 08:39:42 -04:00
commit ec742f76e7
2 changed files with 4 additions and 4 deletions

View File

@ -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;
} }

View File

@ -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)