Commit b711ebab82546282fdf0dc526465b24fef145151
1 parent
43d948ca
Exists in
master
and in
5 other branches
Centralizing the Surface generation smoothing dialog
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
invesalius/gui/dialogs.py
@@ -906,6 +906,7 @@ class SurfaceDialog(wx.Dialog): | @@ -906,6 +906,7 @@ class SurfaceDialog(wx.Dialog): | ||
906 | wx.Dialog.__init__(self, None, -1, u'Surface generation options') | 906 | wx.Dialog.__init__(self, None, -1, u'Surface generation options') |
907 | self._build_widgets() | 907 | self._build_widgets() |
908 | self._bind_wx() | 908 | self._bind_wx() |
909 | + self.CenterOnScreen() | ||
909 | 910 | ||
910 | def _build_widgets(self): | 911 | def _build_widgets(self): |
911 | btn_ok = wx.Button(self, wx.ID_OK) | 912 | btn_ok = wx.Button(self, wx.ID_OK) |