Commit 4a0a52b6081b9626fcdb566e2c1b2e6eed07d7d8
1 parent
f1f23232
Exists in
master
and in
35 other branches
init watershed config dialog at the center
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
invesalius/gui/dialogs.py
@@ -1481,6 +1481,7 @@ class WatershedOptionsDialog(wx.Dialog): | @@ -1481,6 +1481,7 @@ class WatershedOptionsDialog(wx.Dialog): | ||
1481 | self.Layout() | 1481 | self.Layout() |
1482 | 1482 | ||
1483 | btn_ok.Bind(wx.EVT_BUTTON, self.OnOk) | 1483 | btn_ok.Bind(wx.EVT_BUTTON, self.OnOk) |
1484 | + self.CenterOnScreen() | ||
1484 | 1485 | ||
1485 | def OnOk(self, evt): | 1486 | def OnOk(self, evt): |
1486 | self.wop.apply_options() | 1487 | self.wop.apply_options() |