Index: sources/gui/qml/dialogs/headerbar/HeaderbarPrescription.qml =================================================================== diff -u -r83acad721bd36d2c88a15feddd6812d2e591bef3 -rfdddcd8b25b5acc99f8c044c998af0e95752063c --- sources/gui/qml/dialogs/headerbar/HeaderbarPrescription.qml (.../HeaderbarPrescription.qml) (revision 83acad721bd36d2c88a15feddd6812d2e591bef3) +++ sources/gui/qml/dialogs/headerbar/HeaderbarPrescription.qml (.../HeaderbarPrescription.qml) (revision fdddcd8b25b5acc99f8c044c998af0e95752063c) @@ -31,13 +31,15 @@ Text { id: descriptiveText anchors { top : parent.top + topMargin : 10 left : parent.left leftMargin : Variables.defaultMargin * 5 } - text : qsTr("[Original Prescribed Parameters]") + text : qsTr("*Original Prescribed Parameters") visible : vTDOpMode.inTreatment color : Colors.mainTreatmentOrange font.pixelSize : 24 + font.weight : Font.Medium } PreTreatmentCreateContent { id: _headerbarPrescriptionContent @@ -71,16 +73,14 @@ rightMargin : Variables.defaultMargin * 3 } enabled : _root.isFirstTab ? true : _headerbarPrescriptionContent.confirmReady() - text.text : _root.isFirstTab ? qsTr("Next") : qsTr("Validate") + text.text : _root.isFirstTab ? qsTr("Next") : qsTr("Confirm") visible : ! vTDOpMode.inTreatment && ! vTreatmentCreate.parametersValidated onClicked : { if ( _root.isFirstTab ) { _headerbarPrescriptionContent.currentIndex = PreTreatmentCreateContent.TreatmentSettings - return } - - if ( ! vTreatmentCreate.parametersValidated ) { + else { _headerbarPrescriptionContent.validate() } }