Index: sources/gui/qml/main.qml =================================================================== diff -u -r4f572cf1b77d6188ed9bd859f6767b0daab159b3 -r510ea07f96362a18f9961f41b5b91740df075c1f --- sources/gui/qml/main.qml (.../main.qml) (revision 4f572cf1b77d6188ed9bd859f6767b0daab159b3) +++ sources/gui/qml/main.qml (.../main.qml) (revision 510ea07f96362a18f9961f41b5b91740df075c1f) @@ -155,16 +155,19 @@ _alarmListDialog.visible = false _alarmBar .visible = true } + function alarmMaximize() { _alarmDialog .visible = true _alarmListDialog.visible = false _alarmBar .visible = false } + function alarmList() { _alarmDialog .visible = false _alarmListDialog.visible = true _alarmBar .visible = false } + function alarmHide() { _alarmDialog .visible = false _alarmListDialog.visible = false @@ -302,11 +305,11 @@ onDidAlarmRaise: { let silenceMinimize = false + // this is the response to the silence request + // so the dialog should be closed when the request accepted + // if not then if can stay minimized nothing happens + // if can't stay minimized then it has to be shown if (vAlarmStatus.alarm_Flag_alarmsSilenced && silenceMinimize) { - // this is the response to the silence request - // so the dialog should be closed when the request accepted - // if not then if can stay minimized nothing happens - // if can't stay minimized then it has to be shown alarmMinimize() } else {