Set defaultExtruderIndex to activeExtruderIndex

This doesn't fix the problem in it's entirety, but it does make the behavior
to be the same as it was in the previous releases

CURA-10342
This commit is contained in:
Jaime van Kessel 2023-02-28 11:50:54 +01:00
parent e3f6c74f46
commit d7d7a7302d
No known key found for this signature in database
GPG Key ID: C85F7A3AF1BAA7C4
3 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ Cura.ComboBox {
// The displayed value will be read from the extruder with index "defaultExtruderIndex" instead of the machine. // The displayed value will be read from the extruder with index "defaultExtruderIndex" instead of the machine.
property bool updateAllExtruders: false property bool updateAllExtruders: false
// This is only used if updateAllExtruders == true // This is only used if updateAllExtruders == true
property int defaultExtruderIndex: 0 property int defaultExtruderIndex: Cura.ExtruderManager.activeExtruderIndex
model: ListModel model: ListModel
{ {

View File

@ -21,7 +21,7 @@ UM.Slider
// The displayed value will be read from the extruder with index "defaultExtruderIndex" instead of the machine. // The displayed value will be read from the extruder with index "defaultExtruderIndex" instead of the machine.
property bool updateAllExtruders: false property bool updateAllExtruders: false
// This is only used if updateAllExtruders == true // This is only used if updateAllExtruders == true
property int defaultExtruderIndex: 0 property int defaultExtruderIndex: Cura.ExtruderManager.activeExtruderIndex
property int previousValue: -1 property int previousValue: -1
// set range from 0 to 100 // set range from 0 to 100

View File

@ -20,7 +20,7 @@ UM.TextField
// The displayed value will be read from the extruder with index "defaultExtruderIndex" instead of the machine. // The displayed value will be read from the extruder with index "defaultExtruderIndex" instead of the machine.
property bool updateAllExtruders: false property bool updateAllExtruders: false
// This is only used if updateAllExtruders == true // This is only used if updateAllExtruders == true
property int defaultExtruderIndex: 0 property int defaultExtruderIndex: Cura.ExtruderManager.activeExtruderIndex
// Resolving the value in the textField. // Resolving the value in the textField.
Binding Binding