GUI: Don’t prompt to root patch if no new patches

This commit is contained in:
Mykola Grymalyuk
2023-05-20 13:18:11 -06:00
parent a65ceaa376
commit cd9ce32c04
2 changed files with 3 additions and 0 deletions

View File

@@ -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()

View File

@@ -74,6 +74,7 @@ class UpdateFrame(wx.Frame):
progress_bar.Pulse()
self.progress_bar = progress_bar
self.frame.Centre()
self.frame.Show()
wx.Yield()