Index: sources/gui/qml/main.qml =================================================================== diff -u -r124c2e38e72a1a655d9d479c9c7a1cd8c5d5e6c4 -r2e7d498210ba1837f0d77c23c62bf2cf43a26112 --- sources/gui/qml/main.qml (.../main.qml) (revision 124c2e38e72a1a655d9d479c9c7a1cd8c5d5e6c4) +++ sources/gui/qml/main.qml (.../main.qml) (revision 2e7d498210ba1837f0d77c23c62bf2cf43a26112) @@ -394,11 +394,7 @@ // TODO: disable this later. this is only for diagnostic purpose. onDoubleClicked : { if ( _GuiView.dryDemoMode ) { - let dryDemoTempID = 99 - let id = vConfirm.id - vConfirm.id = dryDemoTempID - vConfirm.doConfirm( true ) - vConfirm.id = id + _dryDemoDialog.open() } else { _diagnosticsDialog.open() @@ -413,6 +409,7 @@ PowerItem { id: _powerItem ; z: 997 } ConfirmDialog { id: _confirmDialog ; z: 998 } DiagnosticsDialog { id: _diagnosticsDialog; z: 999 } + DryDemoDialog { id: _dryDemoDialog ; z: 999 } // Same z order because diagnostics is not used in dryDemo // Note: NotificationBar has to be anchored to the main menu and if it is moved into the AlarmItem // then cannot be anchored.