1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Possible fix for position of OnPreferences Dialog.

This commit is contained in:
james.k.crook@gmail.com 2014-10-24 22:34:47 +00:00
parent d8d5a714de
commit 09c5ffe8f1

View File

@ -1551,6 +1551,8 @@ void Meter::OnPreferences(wxCommandEvent & WXUNUSED(event))
dlg.Layout();
dlg.Fit();
dlg.CenterOnParent();
if (dlg.ShowModal() == wxID_OK)
{
gPrefs->Write(wxT("/Meter/MeterRefreshRate"), mMeterRefreshRate);