mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 15:53:52 +02:00
Implement ReloadPreferences for SetPreferences Command.
This commit is contained in:
committed by
Paul Licameli
parent
1551a5a073
commit
99e18a8896
@@ -518,7 +518,10 @@ void PrefsDialog::OnOK(wxCommandEvent & WXUNUSED(event))
|
||||
|
||||
WaveformSettings::defaults().LoadPrefs();
|
||||
|
||||
EndModal(true);
|
||||
if( IsModal() )
|
||||
EndModal(true);
|
||||
else
|
||||
Destroy();
|
||||
}
|
||||
|
||||
void PrefsDialog::SelectPageByName(const wxString &pageName)
|
||||
|
||||
Reference in New Issue
Block a user