1
0
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:
James Crook
2018-02-10 16:31:10 +00:00
committed by Paul Licameli
parent 1551a5a073
commit 99e18a8896
4 changed files with 41 additions and 3 deletions

View File

@@ -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)