Disable repatching a dirty root volume (#1179)

Co-authored-by: Dhinak G <17605561+dhinakg@users.noreply.github.com>
This commit is contained in:
Eva Isabella Luna
2025-12-19 14:06:11 -07:00
committed by GitHub
parent b5da41c030
commit 806d47f413
2 changed files with 61 additions and 1 deletions

View File

@@ -229,7 +229,7 @@ class SysPatchDisplayFrame(wx.Frame):
start_button.Disable()
else:
self.available_patches = True
if patches[HardwarePatchsetValidation.PATCHING_NOT_POSSIBLE] is True:
if patches[HardwarePatchsetValidation.PATCHING_NOT_POSSIBLE] is True or no_new_patches is True:
start_button.Disable()
elif no_new_patches is False:
start_button.SetDefault()