Fix min/max X/Y QML value bindings

CURA-6834
This commit is contained in:
Lipu Fei 2019-10-07 14:06:17 +02:00
parent 121315cbf2
commit 497648ffe7

View file

@ -64,7 +64,7 @@ NumericTextFieldWithUnit
// show the correct value.
if (!textField.activeFocus && !textField.acceptableInput)
{
valueText = axisValue
valueText = Qt.binding(function() { return machineXMaxField.axisValue })
}
}
}
@ -94,6 +94,6 @@ NumericTextFieldWithUnit
}
// Recreate the binding to show the correct value.
valueText = axisValue
valueText = Qt.binding(function() { return axisValue })
}
}