GUI: Implement update flow

This commit is contained in:
Mykola Grymalyuk
2023-05-15 11:10:12 -06:00
parent a7bfef5ed7
commit 2f12236ac8
9 changed files with 81 additions and 7 deletions

View File

@@ -33,6 +33,9 @@ class BuildFrame(wx.Frame):
self._generate_elements(self.frame_modal)
if self.constants.update_stage != gui_support.AutoUpdateStages.INACTIVE:
self.constants.update_stage = gui_support.AutoUpdateStages.BUILDING
self.SetPosition(screen_location) if screen_location else self.Centre()
self.frame_modal.ShowWindowModal()