Index: sources/gui/qml/pages/treatment/TreatmentBloodPrime.qml =================================================================== diff -u -r39a514158384c0ad4bfcfb90bafbaa4ca8dc5a26 -r5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a --- sources/gui/qml/pages/treatment/TreatmentBloodPrime.qml (.../TreatmentBloodPrime.qml) (revision 39a514158384c0ad4bfcfb90bafbaa4ca8dc5a26) +++ sources/gui/qml/pages/treatment/TreatmentBloodPrime.qml (.../TreatmentBloodPrime.qml) (revision 5a2f0e2068f2998a9bf7377d39f2eecb0d4ad15a) @@ -29,7 +29,10 @@ objectName: "_TreatmentBloodPrime" property alias notification : _notification + property bool showPaused : vTDTreatmentStates.bpPaused || vTDTreatmentStates.bpFluidBolus + headerTitle : qsTr("Blood Priming") + showCreateRxHeaderButton : true onVisibleChanged: { if (visible) { @@ -67,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 @@ -105,7 +108,7 @@ bottom : undefined topMargin : _timeout.anchors.bottomMargin } - visible : vTDTreatmentStates.bpPaused + visible : _root.showPaused height : 25 color : "transparent" imageDiameter : 25 @@ -234,7 +237,7 @@ font.weight : Font.Medium } isDefault : true - enabled : true + enabled : ! vTDTreatmentStates.bpFluidBolus onClicked : { vTDTreatmentStates.bpPaused ? _root.resume() : _root.pause() } }