1
0
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:
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;
#endif
// Do not copy these!
hFFT = 0;
window = 0;
// Invalidate the caches
DestroyWindows();
}
return *this;
}

View File

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