Index: sources/gui/qml/pages/treatment/sections/TreatmentTime.qml =================================================================== diff -u -r64d87d540594252e8039ab2595016d98f1e3cc28 -r2c9421bd6da03c7e0bd0bfa1f49fa95c2bd18a95 --- sources/gui/qml/pages/treatment/sections/TreatmentTime.qml (.../TreatmentTime.qml) (revision 64d87d540594252e8039ab2595016d98f1e3cc28) +++ sources/gui/qml/pages/treatment/sections/TreatmentTime.qml (.../TreatmentTime.qml) (revision 2c9421bd6da03c7e0bd0bfa1f49fa95c2bd18a95) @@ -32,7 +32,7 @@ property int progressValue : vTreatmentTime.time_Elapsed property int timeTextValue : vTreatmentTime.time_Remaining - property bool isPaused : vHDTreatmentStates.txPaused + property bool isRunning : vHDTreatmentStates.txDialysis_Running signal clicked() @@ -52,7 +52,7 @@ TimeText { id: _timeText anchors.centerIn : parent seconds : _root.timeTextValue - secondsVisible: ! _root.isPaused + secondsVisible: _root.isRunning } Rectangle { id: _timeTitleRect @@ -71,7 +71,7 @@ anchors.left: parent.left Image { id: _arrowImage - visible: ! _root.isPaused + visible: _root.isRunning anchors.left : parent.right anchors.bottom: parent.baseline anchors.leftMargin: 10 @@ -83,7 +83,7 @@ } NotificationBarSmall { id: _notification - visible : _root.isPaused + visible : ! _root.isRunning height : 25 imageAutoSize: false imageAnimated: true @@ -103,7 +103,7 @@ MouseArea { id: _mouseArea anchors.fill: parent onClicked: { - if (! _root.isPaused) { + if (_root.isRunning) { _root.clicked() } }