Index: sources/gui/qml/pages/treatment/sections/TreatmentSaline.qml =================================================================== diff -u -rd0ae5a039ca37630c0911e1f9041b93b980e0431 -r583d1953c783940c93f22c37b23daadb1ff3a09c --- sources/gui/qml/pages/treatment/sections/TreatmentSaline.qml (.../TreatmentSaline.qml) (revision d0ae5a039ca37630c0911e1f9041b93b980e0431) +++ sources/gui/qml/pages/treatment/sections/TreatmentSaline.qml (.../TreatmentSaline.qml) (revision 583d1953c783940c93f22c37b23daadb1ff3a09c) @@ -43,11 +43,12 @@ readonly property string mesgRejectReason : vTreatmentAdjustmentSaline.adjustment_ReasonText } - hasArrow : false - isTouchable : ! ( _root.isDisabled || _root.isWaitPump ) - buttonText : ( _root.isDisabled || _root.isWaitPump ) ? _private.textStart : - _root.isStarted ? _private.textStop : - _private.textStart + hasArrow : false + isTouchable : false + buttonEnabled : ! ( _root.isDisabled || _root.isWaitPump ) + buttonText : ( _root.isDisabled || _root.isWaitPump ) ? _private.textStart : + _root.isStarted ? _private.textStop : + _private.textStart title : qsTr("SALINE BOLUS") unit : Variables.unitTextSaline @@ -58,7 +59,8 @@ VTreatmentSaline { id: vTreatmentSaline } onClicked: { - vTreatmentAdjustmentSaline.doAdjustment() + if ( isIdle ) vTreatmentAdjustmentSaline.doStart() // IDLE + if ( isStarted ) vTreatmentAdjustmentSaline.doStop () // IN_PROGRESS } notification {