gui_main.py: Add work-around for broke pulse() on non-Metal

Applicable for non-Metal Macs running Monterey, NSProgressBar’s indeterminate function is broken when called by wxWidgets/wxPython
This commit is contained in:
Mykola Grymalyuk
2022-05-12 11:46:53 -06:00
parent a7a3643b12
commit 63118d7d43
3 changed files with 29 additions and 3 deletions
+1
View File
@@ -38,6 +38,7 @@ class generate_defaults:
settings.secure_status = False
settings.sip_status = False
settings.allow_fv_root = True
settings.host_is_non_metal = True
if settings.computer.gpus:
for gpu in settings.computer.gpus:
if gpu.arch == device_probe.NVIDIA.Archs.Kepler: