1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 17:19:43 +02:00

Fix Windows build again

This commit is contained in:
Paul Licameli 2017-06-25 15:26:30 -04:00
parent d3c9a1decb
commit 52322da695

View File

@ -419,7 +419,7 @@ void SpectrumPrefs::Rollback()
void SpectrumPrefs::Preview()
{
if (!Validate())
return false;
return;
const bool isOpenPage = this->IsShown();
@ -475,12 +475,13 @@ void SpectrumPrefs::Preview()
tp->UpdateVRulers();
tp->Refresh(false);
}
return true;
}
bool SpectrumPrefs::Commit()
{
if (!Validate())
return false;
mCommitted = true;
SpectrogramSettings::Globals::Get().SavePrefs(); // always
if (!mWt || mDefaulted) {