1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-12 06:01:13 +02:00

Merge pull request #68 from Paul-Licameli/bugs

Bug1187: validate before Applying changes of spectrogram preferences

We're resetting to start of freeze, so have accepted this P4 fix as if it had happened during Semifreddo.
This commit is contained in:
James Crook 2015-09-16 20:20:27 +01:00
commit 3a3b98ba92

View File

@ -361,6 +361,9 @@ bool SpectrumPrefs::Validate()
bool SpectrumPrefs::Apply() bool SpectrumPrefs::Apply()
{ {
if (!Validate())
return false;
const bool isOpenPage = this->IsShown(); const bool isOpenPage = this->IsShown();
WaveTrack *const partner = WaveTrack *const partner =