mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-11 17:41:15 +02:00
Bug1187: validate before Applying changes of spectrogram preferences
This commit is contained in:
parent
d59871d341
commit
6a1f830022
@ -361,6 +361,9 @@ bool SpectrumPrefs::Validate()
|
||||
|
||||
bool SpectrumPrefs::Apply()
|
||||
{
|
||||
if (!Validate())
|
||||
return false;
|
||||
|
||||
const bool isOpenPage = this->IsShown();
|
||||
|
||||
WaveTrack *const partner =
|
||||
|
Loading…
x
Reference in New Issue
Block a user