Index: sources/gui/qml/components/HeaderBar.qml =================================================================== diff -u -r5e5c936f26d0dd06c89e9fd32de5775a37b52493 -rdbe55daa5838b4b8ee07037e78b393c296423cb3 --- sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision 5e5c936f26d0dd06c89e9fd32de5775a37b52493) +++ sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision dbe55daa5838b4b8ee07037e78b393c296423cb3) @@ -6,7 +6,6 @@ Rectangle { id: _root - property alias menuHidden : _headerMenu.hidden property alias headerMenuIndex : _headerMenu.index property alias userMode : _loggedInUser.text readonly property int currentScreen : _headerMenu.currentScreen @@ -59,7 +58,7 @@ _dryDemoDialog.open() } else { - _diagnosticsDialog.open() + // _diagnosticsDialog.open() } lastClickTime = 0 } @@ -152,7 +151,10 @@ } height : parent.height width : parent.width / 2 // gives the width of the headerbar menu - hidden : true + hidden : _root.activeStack && + _root.activeStack.currentItem && + _root.activeStack.currentItem.showHeaderMenu ? ! _root.activeStack.currentItem.showHeaderMenu : true + visible : ! hidden titlePixelSize : 32 backgroundColor : Colors.transparent highlightHeight : 15 @@ -180,6 +182,7 @@ extraSpace : _headerButtonRow.spacing visible : vTDTreatmentStates.txEnd + onPressed : _endTreatmentDialog.open() } IconButton { id : _waterSample