mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-19 05:40:01 +10:00
wx_gui: Fix unpatch check
This commit is contained in:
@@ -106,7 +106,7 @@ class SysPatchDisplayFrame(wx.Frame):
|
|||||||
available_label.Centre(wx.HORIZONTAL)
|
available_label.Centre(wx.HORIZONTAL)
|
||||||
|
|
||||||
|
|
||||||
can_unpatch: bool = patches[HardwarePatchsetValidation.UNPATCHING_NOT_POSSIBLE]
|
can_unpatch: bool = not patches[HardwarePatchsetValidation.UNPATCHING_NOT_POSSIBLE]
|
||||||
|
|
||||||
if not any(not patch.startswith("Settings") and not patch.startswith("Validation") and patches[patch] is True for patch in patches):
|
if not any(not patch.startswith("Settings") and not patch.startswith("Validation") and patches[patch] is True for patch in patches):
|
||||||
logging.info("No applicable patches available")
|
logging.info("No applicable patches available")
|
||||||
|
|||||||
Reference in New Issue
Block a user