Index: sources/gui/qml/main.qml =================================================================== diff -u -r595ed1fbe8066960afd4c8fea168208e81b173d9 -r057d3ef4e29c63235040c5cfe8c6421ef7787d6a --- sources/gui/qml/main.qml (.../main.qml) (revision 595ed1fbe8066960afd4c8fea168208e81b173d9) +++ sources/gui/qml/main.qml (.../main.qml) (revision 057d3ef4e29c63235040c5cfe8c6421ef7787d6a) @@ -56,6 +56,7 @@ 5000 // if there is any error happening then after 5 seconds dialog hides. ) break; + } } } @@ -74,15 +75,18 @@ case GuiActions.Command: _powerOffDialog.open() break; + case GuiActions.Timeout: _powerOffDialog.close() break; + case GuiActions.Rejected: _autoHideInfo.showDialog( qsTr("Cannot shutdown during 'Treatment'"), // '%1').arg() 1000 // if there is any error happening then after 5 seconds dialog hides. ) break; + } } }