mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 12:48:18 +10:00
GUI: Don’t prompt to root patch if no new patches
This commit is contained in:
@@ -269,6 +269,8 @@ class SysPatchFrame(wx.Frame):
|
||||
start_button.Disable()
|
||||
elif no_new_patches is False:
|
||||
start_button.SetDefault()
|
||||
else:
|
||||
self.available_patches = False
|
||||
if can_unpatch is False:
|
||||
revert_button.Disable()
|
||||
|
||||
|
||||
@@ -74,6 +74,7 @@ class UpdateFrame(wx.Frame):
|
||||
progress_bar.Pulse()
|
||||
self.progress_bar = progress_bar
|
||||
|
||||
self.frame.Centre()
|
||||
self.frame.Show()
|
||||
wx.Yield()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user