Load extruder combobox synchronously

Asynchronously causes Qt 5.4 to give a segfault.

Contributes to issues CURA-351 and CURA-1278.
This commit is contained in:
Ghostkeeper 2016-06-02 17:18:09 +02:00
parent b4782e9b12
commit c50d0a97da
No known key found for this signature in database
GPG key ID: 701948C5954A7385
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@ Item {
//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"
asynchronous: model.type != "enum" && model.type != "extruder"
onLoaded: {
settingLoader.item.showRevertButton = false