gui_support.py: Implement manual window centreing

This commit is contained in:
Mykola Grymalyuk
2023-05-28 10:57:05 -06:00
parent 597a4a6e14
commit 80e836e3bb
11 changed files with 63 additions and 28 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ class BuildFrame(wx.Frame):
if self.constants.update_stage != gui_support.AutoUpdateStages.INACTIVE:
self.constants.update_stage = gui_support.AutoUpdateStages.BUILDING
self.Centre()
gui_support.Centre(self, self.constants)
self.frame_modal.ShowWindowModal()
self._invoke_build()