mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-12 06:37:52 +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()
|
void SpectrumPrefs::Preview()
|
||||||
{
|
{
|
||||||
if (!Validate())
|
if (!Validate())
|
||||||
return false;
|
return;
|
||||||
|
|
||||||
const bool isOpenPage = this->IsShown();
|
const bool isOpenPage = this->IsShown();
|
||||||
|
|
||||||
@ -475,12 +475,13 @@ void SpectrumPrefs::Preview()
|
|||||||
tp->UpdateVRulers();
|
tp->UpdateVRulers();
|
||||||
tp->Refresh(false);
|
tp->Refresh(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SpectrumPrefs::Commit()
|
bool SpectrumPrefs::Commit()
|
||||||
{
|
{
|
||||||
|
if (!Validate())
|
||||||
|
return false;
|
||||||
|
|
||||||
mCommitted = true;
|
mCommitted = true;
|
||||||
SpectrogramSettings::Globals::Get().SavePrefs(); // always
|
SpectrogramSettings::Globals::Get().SavePrefs(); // always
|
||||||
if (!mWt || mDefaulted) {
|
if (!mWt || mDefaulted) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user