mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
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:
parent
b4782e9b12
commit
c50d0a97da
2 changed files with 2 additions and 2 deletions
|
@ -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
|
//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,
|
//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.
|
//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: {
|
onLoaded: {
|
||||||
settingLoader.item.showRevertButton = false
|
settingLoader.item.showRevertButton = false
|
||||||
|
|
|
@ -49,7 +49,7 @@ ScrollView
|
||||||
//Qt5.4.2 and earlier has a bug where this causes a crash: https://bugreports.qt.io/browse/QTBUG-35989
|
//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,
|
//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.
|
//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"
|
||||||
active: model.type != undefined
|
active: model.type != undefined
|
||||||
|
|
||||||
source:
|
source:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue