mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:39:01 +08:00
Connect extruder comboboxes with their settings
CURA-790
This commit is contained in:
parent
4a2b1af9f5
commit
d34c28543b
@ -308,6 +308,10 @@ Item
|
||||
anchors.top: parent.top
|
||||
anchors.left: supportExtruderLabel.right
|
||||
style: UM.Theme.styles.combobox
|
||||
currentIndex: UM.ActiveProfile.valid ? UM.ActiveProfile.settingValues.getValue("extruder_nr") : 0
|
||||
onActivated: {
|
||||
UM.MachineManager.setSettingValue("extruder_nr", index)
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
@ -327,6 +331,10 @@ Item
|
||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||
anchors.left: supportExtruderLabel.right
|
||||
style: UM.Theme.styles.combobox
|
||||
currentIndex: UM.ActiveProfile.valid ? UM.ActiveProfile.settingValues.getValue("support_extruder_nr") : 0
|
||||
onActivated: {
|
||||
UM.MachineManager.setSettingValue("support_extruder_nr", index)
|
||||
}
|
||||
}
|
||||
|
||||
ListModel {
|
||||
|
Loading…
x
Reference in New Issue
Block a user