mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 06:10:00 +10:00
GUI: Unify Yield() calls
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user