mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
Connect extruder comboboxes with their settings
CURA-790
This commit is contained in:
parent
4a2b1af9f5
commit
d34c28543b
1 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue