Index: sources/gui/qml/pages/pretreatment/create/PreTreatmentCreatePatientPrescription.qml =================================================================== diff -u -rc1651f840faf3ed767fb19b76742b68401f96272 -r555ee09fefaaeff952a24b735f1e40e67ada7cec --- sources/gui/qml/pages/pretreatment/create/PreTreatmentCreatePatientPrescription.qml (.../PreTreatmentCreatePatientPrescription.qml) (revision c1651f840faf3ed767fb19b76742b68401f96272) +++ sources/gui/qml/pages/pretreatment/create/PreTreatmentCreatePatientPrescription.qml (.../PreTreatmentCreatePatientPrescription.qml) (revision 555ee09fefaaeff952a24b735f1e40e67ada7cec) @@ -21,7 +21,6 @@ spacing : Variables.defaultMargin * 3 - enum HeparinEnabled { OFF, ON @@ -128,6 +127,7 @@ textInput.validator : RegExpValidator { regExp: Variables.regExp_PatientID } line.visible : false enabled : _root.editingEnabled + textInput.onTextChanged : vTreatmentCreate.patientID = textInput.text Text { id: _patientIDPlaceHolderText text : Variables.emptyEntry