1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 15:53:52 +02:00

Send size event after repopulating MeterToolbar buttons.

If we don't do this, it does not regain its former size, if it is floating.
This commit is contained in:
James Crook
2017-04-27 09:51:34 +01:00
parent 7e2a7aad89
commit 7661d179ba
5 changed files with 19 additions and 8 deletions

View File

@@ -394,6 +394,8 @@ void PrefsDialog::OnOK(wxCommandEvent & WXUNUSED(event))
return;
}
// flush now so toolbars will know their position.
gPrefs->Flush();
if (mCategories) {
// Now apply the changes
for (size_t i = 0; i < mCategories->GetPageCount(); i++) {