Index: sources/gui/qml/pages/pretreatment/create/PreTreatmentCreatePatientPrescription.qml =================================================================== diff -u -r5c054a624e9b8523b530691aa07735f34e20e01b -r3069c3c58513a5a036f91635cb158cd3ba3b04dc --- sources/gui/qml/pages/pretreatment/create/PreTreatmentCreatePatientPrescription.qml (.../PreTreatmentCreatePatientPrescription.qml) (revision 5c054a624e9b8523b530691aa07735f34e20e01b) +++ sources/gui/qml/pages/pretreatment/create/PreTreatmentCreatePatientPrescription.qml (.../PreTreatmentCreatePatientPrescription.qml) (revision 3069c3c58513a5a036f91635cb158cd3ba3b04dc) @@ -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