mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-09-01 14:31:46 -06:00
Update extruder count model in MachineSettings dialog
CURA-4722
This commit is contained in:
parent
6d06d18407
commit
ae86a838e0
1 changed files with 14 additions and 0 deletions
|
@ -270,6 +270,20 @@ Cura.MachineAction
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Connections
|
||||||
|
{
|
||||||
|
target: manager
|
||||||
|
onDefinedExtruderCountChanged:
|
||||||
|
{
|
||||||
|
extruderCountModel.clear();
|
||||||
|
for(var i = 0; i < manager.definedExtruderCount; ++i)
|
||||||
|
{
|
||||||
|
extruderCountModel.append({text: String(i + 1), value: i});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
currentIndex: machineExtruderCountProvider.properties.value - 1
|
currentIndex: machineExtruderCountProvider.properties.value - 1
|
||||||
onActivated:
|
onActivated:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue