From 5c6e05b1e4fe20f5ad9b4e427dd91ae305fd26c6 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Mon, 16 Aug 2021 00:14:39 +0200 Subject: [PATCH] Undefined shortcut was not defined as so. --- Action.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Action.qml b/Action.qml index ae23daa..1485b68 100644 --- a/Action.qml +++ b/Action.qml @@ -62,7 +62,7 @@ Item { Component.onCompleted: { // Forwarding to MenuBar. Little hack to make Action shortcuts work properly, because otherwise, they would not trigger - if(shortcut != 0) { + if(shortcut != 0 && shortcut != undefined) { parent.parent.addShortcut(shortcut, root.triggered) } }