mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-11 09:31:13 +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()
|
bool SpectrumPrefs::Apply()
|
||||||
{
|
{
|
||||||
|
if (!Validate())
|
||||||
|
return false;
|
||||||
|
|
||||||
const bool isOpenPage = this->IsShown();
|
const bool isOpenPage = this->IsShown();
|
||||||
|
|
||||||
WaveTrack *const partner =
|
WaveTrack *const partner =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user