GUI: Unify Yield() calls

This commit is contained in:
Mykola Grymalyuk
2023-05-18 16:06:33 -06:00
parent 300726ea96
commit 11bc64f8e6
7 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ class UpdateFrame(wx.Frame):
while True:
launch_label.SetLabel(f"Closing old process in {timer} seconds")
launch_label.Center(wx.HORIZONTAL)
wx.GetApp().Yield()
wx.Yield()
time.sleep(1)
timer -= 1
if timer == 0: