Revert to old Centre logic

This commit is contained in:
Mykola Grymalyuk
2023-05-29 12:46:28 -06:00
parent 2435ea747c
commit 6ab297423e
9 changed files with 8 additions and 59 deletions

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
gui_support.Centre(self, self.constants)
self.Centre()
self.frame_modal.ShowWindowModal()
self._invoke_build()