Do not load ComboBox items asynchronously

Since there is a bug with Qt 5.5 that will do strange reordering.

Contributes to CURA-1278
This commit is contained in:
Arjen Hiemstra 2016-05-26 15:29:56 +02:00
parent 8804c2837f
commit 43ec037c55

View file

@ -45,7 +45,9 @@ ScrollView
property var propertyProvider: provider
//Qt5.4.2 and earlier has a bug where this causes a crash: https://bugreports.qt.io/browse/QTBUG-35989
asynchronous: QT_VERSION_STR.split(".")[1] >= 5
//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 differnt options. So disable asynchronous loading of enum type completely.
asynchronous: model.type != "enum"
source:
{