Index: sources/gui/qml/pages/treatment/TreatmentBloodPrime.qml =================================================================== diff -u -r07121b02499a4c929c5b5e8bd804a67539574c1b -r5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a --- sources/gui/qml/pages/treatment/TreatmentBloodPrime.qml (.../TreatmentBloodPrime.qml) (revision 07121b02499a4c929c5b5e8bd804a67539574c1b) +++ sources/gui/qml/pages/treatment/TreatmentBloodPrime.qml (.../TreatmentBloodPrime.qml) (revision 5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a) @@ -29,6 +29,8 @@ objectName: "_TreatmentBloodPrime" property alias notification : _notification + property bool showPaused : vTDTreatmentStates.bpPaused || vTDTreatmentStates.bpFluidBolus + headerTitle : qsTr("Blood Priming") showCreateRxHeaderButton : true @@ -68,7 +70,7 @@ anchors.horizontalCenter : parent.horizontalCenter thickness : 35 circleShadowColor : Colors.mainTreatmentLighterBlue - runAnimation : vTDTreatmentStates.bpPaused + runAnimation : _root.showPaused minimum : 0 maximum : vTreatmentBloodPrime.target value : vTreatmentBloodPrime.current @@ -106,7 +108,7 @@ bottom : undefined topMargin : _timeout.anchors.bottomMargin } - visible : vTDTreatmentStates.bpPaused + visible : _root.showPaused height : 25 color : "transparent" imageDiameter : 25 @@ -235,7 +237,7 @@ font.weight : Font.Medium } isDefault : true - enabled : true + enabled : ! vTDTreatmentStates.bpFluidBolus onClicked : { vTDTreatmentStates.bpPaused ? _root.resume() : _root.pause() } }