1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 23:59:41 +02:00

Bug 646: PluginRegistrationDialog now centred on screen rather than on (not-yet-existent) parent

This commit is contained in:
james.k.crook@gmail.com 2013-08-24 16:31:21 +00:00
parent 4c2544874d
commit 1706aaca69

View File

@ -221,7 +221,8 @@ void PluginRegistrationDialog::PopulateOrExchange(ShuttleGui &S)
Layout();
Fit();
SetSizeHints(GetSize());
Center();
// Parent window is usually not there yet, so centre on screen rather than on parent.
CenterOnScreen();
}