Use more meaning ID

CURA-6834
This commit is contained in:
Lipu Fei 2019-10-07 21:14:02 +02:00
parent d1f9245d26
commit 01345650e7

View File

@ -24,7 +24,7 @@ import Cura 1.1 as Cura
// //
NumericTextFieldWithUnit NumericTextFieldWithUnit
{ {
id: machineXMaxField id: printerHeadMinMaxField
UM.I18nCatalog { id: catalog; name: "cura" } UM.I18nCatalog { id: catalog; name: "cura" }
containerStackId: Cura.MachineManager.activeMachineId containerStackId: Cura.MachineManager.activeMachineId
@ -64,7 +64,7 @@ NumericTextFieldWithUnit
// show the correct value. // show the correct value.
if (!textField.activeFocus && !textField.acceptableInput) if (!textField.activeFocus && !textField.acceptableInput)
{ {
valueText = Qt.binding(function() { return machineXMaxField.axisValue }) valueText = Qt.binding(function() { return printerHeadMinMaxField.axisValue })
} }
} }
} }