From 296a4e802687c3daaa66a41e68f1a063e5afd772 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Mon, 25 Aug 2014 21:02:15 -0400 Subject: [PATCH] MGR: Center the adv preferences dialog after opening it up. --- clientgui/DlgAdvPreferences.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clientgui/DlgAdvPreferences.cpp b/clientgui/DlgAdvPreferences.cpp index 715d7a38a7..fc6856bf21 100644 --- a/clientgui/DlgAdvPreferences.cpp +++ b/clientgui/DlgAdvPreferences.cpp @@ -121,8 +121,9 @@ CDlgAdvPreferences::CDlgAdvPreferences(wxWindow* parent) : CDlgAdvPreferencesBas } #endif - this->Layout(); + Layout(); Fit(); + Centre(); } /* destructor */