mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 16:57:51 -06:00
Added "optional_extruder" setting type
CURA-3814
This commit is contained in:
parent
4d853d5d52
commit
20cb3ea01f
4 changed files with 181 additions and 1 deletions
|
@ -195,7 +195,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" && model.type != "extruder"
|
||||
asynchronous: model.type != "enum" && model.type != "extruder" && model.type != "optional_extruder"
|
||||
active: model.type != undefined
|
||||
|
||||
source:
|
||||
|
@ -218,6 +218,8 @@ Item
|
|||
return "SettingTextField.qml"
|
||||
case "category":
|
||||
return "SettingCategory.qml"
|
||||
case "optional_extruder":
|
||||
return "SettingOptionalExtruder.qml"
|
||||
default:
|
||||
return "SettingUnknown.qml"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue