mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
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:
parent
8804c2837f
commit
43ec037c55
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue