Index: sources/gui/qml/components/HeaderBar.qml =================================================================== diff -u -r9048646630717f980a852df54349805ba63773e0 -r93b7d7da5dea9e0392e139b59117eb0315d6c343 --- sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision 9048646630717f980a852df54349805ba63773e0) +++ sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision 93b7d7da5dea9e0392e139b59117eb0315d6c343) @@ -7,6 +7,8 @@ property alias menuHidden : _headerMenu.hidden property alias headerMenuIndex : _headerMenu.index + readonly property int currentScreen : _headerMenu.currentScreen + property alias statusColor : _headerMenu.heparinStatusColor width : Variables.applicationWidth height : Variables.headerHeight @@ -93,13 +95,12 @@ bottomMargin: hidden || disable ? height * -1 : 0 } height : parent.height - width : parent.width / 3 + width : parent.width / 2 hidden : true titlePixelSize : 32 backgroundColor : Colors.transparent highlightHeight : 15 isMainTreatment : true - onHiddenChanged: { if (hidden) { index = 0 } } }