mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 12:48:18 +10:00
GUI: Fix mis-selection
This commit is contained in:
@@ -128,7 +128,8 @@ class SettingsFrame(wx.Frame):
|
||||
checkbox.Bind(wx.EVT_CHECKBOX, event)
|
||||
if "condition" in setting_info:
|
||||
checkbox.Enable(setting_info["condition"])
|
||||
checkbox.SetValue(setting_info["condition"])
|
||||
if setting_info["condition"] is False:
|
||||
checkbox.SetValue(False)
|
||||
|
||||
elif setting_info["type"] == "spinctrl":
|
||||
# Add spinctrl, and description underneath
|
||||
|
||||
Reference in New Issue
Block a user