Make all settingitems async

We're quite a few qt versions ahead now. The issue seems to have been resolved in the meantime!
This commit is contained in:
Jaime van Kessel 2020-07-10 14:28:58 +02:00
parent ce3ac604f2
commit d1afc63902
No known key found for this signature in database
GPG Key ID: 3710727397403C91

View File

@ -265,10 +265,7 @@ Item
property var globalPropertyProvider: inheritStackProvider
property bool externalResetHandler: false
//Qt5.4.2 and earlier has a bug where this causes a crash: https://bugreports.qt.io/browse/QTBUG-35989
//In addition, while it works for 5.5 and higher, the ordering of the actual combo box drop down changes,
//causing nasty issues when selecting different options. So disable asynchronous loading of enum type completely.
asynchronous: model.type !== "enum" && model.type !== "extruder" && model.type !== "optional_extruder"
asynchronous: true
active: model.type !== undefined
source: