mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-18 21:30:00 +10:00
Set type suggestions for global Constants() usage
This commit is contained in:
@@ -2645,11 +2645,11 @@ class wx_python_gui:
|
||||
if user_choice == self.computer.real_model:
|
||||
logging.info(f"Using Real Model: {user_choice}")
|
||||
self.constants.custom_model = None
|
||||
defaults.generate_defaults(self.computer.real_model, True, self.constants)
|
||||
defaults.GenerateDefaults(self.computer.real_model, True, self.constants)
|
||||
else:
|
||||
logging.info(f"Using Custom Model: {user_choice}")
|
||||
self.constants.custom_model = user_choice
|
||||
defaults.generate_defaults(self.constants.custom_model, False, self.constants)
|
||||
defaults.GenerateDefaults(self.constants.custom_model, False, self.constants)
|
||||
# Reload Settings
|
||||
self.settings_menu(None)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user