mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 15:23:48 +01:00
Bug1187: validate before Applying changes of spectrogram preferences
This commit is contained in:
@@ -361,6 +361,9 @@ bool SpectrumPrefs::Validate()
|
||||
|
||||
bool SpectrumPrefs::Apply()
|
||||
{
|
||||
if (!Validate())
|
||||
return false;
|
||||
|
||||
const bool isOpenPage = this->IsShown();
|
||||
|
||||
WaveTrack *const partner =
|
||||
|
||||
Reference in New Issue
Block a user