From 497648ffe71f1a96fb7d2f63d0a38f6b88d372d4 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Mon, 7 Oct 2019 14:06:17 +0200 Subject: [PATCH] Fix min/max X/Y QML value bindings CURA-6834 --- resources/qml/MachineSettings/PrintHeadMinMaxTextField.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/MachineSettings/PrintHeadMinMaxTextField.qml b/resources/qml/MachineSettings/PrintHeadMinMaxTextField.qml index a08fa92c78..fbd2236874 100644 --- a/resources/qml/MachineSettings/PrintHeadMinMaxTextField.qml +++ b/resources/qml/MachineSettings/PrintHeadMinMaxTextField.qml @@ -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 }) } }