1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-15 17:11:20 +01:00

Center dialog...was in the top-left corner on OSX.

This commit is contained in:
Leland Lucius
2015-04-27 21:14:47 -05:00
parent 2aeb9320dc
commit 06a2eab9f6

View File

@@ -1116,6 +1116,7 @@ wxString Effect::GetPreset(wxWindow * parent, const wxString & parms)
dlg.Layout();
dlg.Fit();
dlg.SetSize(dlg.GetMinSize());
dlg.CenterOnParent();
dlg.SetSelected(parms);
if (dlg.ShowModal())