@@ -50,8 +50,8 @@ AbstractStage {
5050 GlobalShortcut {
5151 id: closeWindowShortcut
5252 shortcut: Qt.AltModifier|Qt.Key_F4
53− onTriggered: { if (priv.focusedAppDelegate) { priv.focusedAppDelegate.close(); } }
54− active: priv.focusedAppDelegate !== null
53+ onTriggered: priv.focusedAppDelegate.close();
54+ active: priv.focusedAppDelegate && !priv.focusedAppDelegate.isDash
5555 }
5656
5757 GlobalShortcut {
@@ -298,6 +298,8 @@ AbstractStage {
298298
299299 readonly property var surface: model.surface
300300
301+ readonly property bool isDash: model.application.appId == "unity8-dash"
302+
301303 function claimFocus() {
302304 if (spread.state == "altTab") {
303305 spread.cancel();