From 4a0a52b6081b9626fcdb566e2c1b2e6eed07d7d8 Mon Sep 17 00:00:00 2001 From: Thiago Franco de Moraes Date: Thu, 28 May 2015 08:16:13 -0300 Subject: [PATCH] init watershed config dialog at the center --- invesalius/gui/dialogs.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/invesalius/gui/dialogs.py b/invesalius/gui/dialogs.py index 14977e4..9a605a4 100644 --- a/invesalius/gui/dialogs.py +++ b/invesalius/gui/dialogs.py @@ -1481,6 +1481,7 @@ class WatershedOptionsDialog(wx.Dialog): self.Layout() btn_ok.Bind(wx.EVT_BUTTON, self.OnOk) + self.CenterOnScreen() def OnOk(self, evt): self.wop.apply_options() -- libgit2 0.21.2