mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 16:40:07 +02:00
Possible fix for position of OnPreferences Dialog.
This commit is contained in:
parent
d8d5a714de
commit
09c5ffe8f1
@ -1551,6 +1551,8 @@ void Meter::OnPreferences(wxCommandEvent & WXUNUSED(event))
|
|||||||
dlg.Layout();
|
dlg.Layout();
|
||||||
dlg.Fit();
|
dlg.Fit();
|
||||||
|
|
||||||
|
dlg.CenterOnParent();
|
||||||
|
|
||||||
if (dlg.ShowModal() == wxID_OK)
|
if (dlg.ShowModal() == wxID_OK)
|
||||||
{
|
{
|
||||||
gPrefs->Write(wxT("/Meter/MeterRefreshRate"), mMeterRefreshRate);
|
gPrefs->Write(wxT("/Meter/MeterRefreshRate"), mMeterRefreshRate);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user