Index: sources/gui/qml/pages/pretreatment/create/PreTreatmentCreateContent.qml =================================================================== diff -u -r456da384df52c20ce45b2bec4317806ee11af1f6 -rb67c15152e0bd979d3a96f44abcea23d22dcd735 --- sources/gui/qml/pages/pretreatment/create/PreTreatmentCreateContent.qml (.../PreTreatmentCreateContent.qml) (revision 456da384df52c20ce45b2bec4317806ee11af1f6) +++ sources/gui/qml/pages/pretreatment/create/PreTreatmentCreateContent.qml (.../PreTreatmentCreateContent.qml) (revision b67c15152e0bd979d3a96f44abcea23d22dcd735) @@ -80,6 +80,7 @@ _preTreatmentCreatePatientPrescription .clear() clearErrors() canEdit (true) + vTreatmentCreate.parametersValidated = false } function clearErrors() { @@ -213,7 +214,7 @@ onActivated: { const selectedItem = model[currentIndex] - if ( selectedItem === _root.editRx ) { /*All parameters set to edit if parameters are validated */ } + if ( selectedItem === _root.editRx ) { vTreatmentCreate.parametersValidated = false } else if ( selectedItem === _root.selectRx ) { print("TODO: Open and Select from Prescription Manager") } else if ( selectedItem === _root.clearAll ) { _root.clear() } else { /*Unknown state */ }