mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06:00
Select first extruder when switching to a printer (continued)
The days of the global tab are numbered CURA-1758
This commit is contained in:
parent
8a6f41d7e7
commit
a31ffc4ebf
1 changed files with 3 additions and 3 deletions
|
@ -91,8 +91,8 @@ Column
|
|||
target: Cura.MachineManager
|
||||
onGlobalContainerChanged:
|
||||
{
|
||||
base.currentExtruderIndex = -1;
|
||||
forceActiveFocus()
|
||||
forceActiveFocus() // Changing focus applies the currently-being-typed values so it can change the displayed setting values.
|
||||
base.currentExtruderIndex = (machineExtruderCount.properties.value == 1) ? -1 : 0;
|
||||
ExtruderManager.setActiveExtruderIndex(base.currentExtruderIndex);
|
||||
}
|
||||
}
|
||||
|
@ -110,7 +110,7 @@ Column
|
|||
|
||||
onClicked:
|
||||
{
|
||||
forceActiveFocus() //Changing focus applies the currently-being-typed values so it can change the displayed setting values.
|
||||
forceActiveFocus() // Changing focus applies the currently-being-typed values so it can change the displayed setting values.
|
||||
base.currentExtruderIndex = index;
|
||||
ExtruderManager.setActiveExtruderIndex(index);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue