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:
parent
d3c9a1decb
commit
52322da695
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user