mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 00:39:01 +08:00
Fix min/max X/Y QML value bindings
CURA-6834
This commit is contained in:
parent
121315cbf2
commit
497648ffe7
@ -64,7 +64,7 @@ NumericTextFieldWithUnit
|
|||||||
// show the correct value.
|
// show the correct value.
|
||||||
if (!textField.activeFocus && !textField.acceptableInput)
|
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.
|
// Recreate the binding to show the correct value.
|
||||||
valueText = axisValue
|
valueText = Qt.binding(function() { return axisValue })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user