From 7bef8c99ec13a398f24903bed60c579bdbe92470 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Sat, 14 Dec 2024 17:22:12 +0100 Subject: [PATCH] [UserInfo] Fix shortcut Set the keysequence on the action directly This makes it actually work --- src/qml/UserInfo.qml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/qml/UserInfo.qml b/src/qml/UserInfo.qml index fefc9ec03..f84ccaa70 100644 --- a/src/qml/UserInfo.qml +++ b/src/qml/UserInfo.qml @@ -91,6 +91,7 @@ RowLayout { id: switchUserButton text: i18n("Switch User") icon.name: "system-switch-user" + shortcut: "Ctrl+U" onTriggered: accountSwitchDialog.createObject(QQC2.Overlay.overlay, { connection: root.connection }).open(); @@ -105,11 +106,6 @@ RowLayout { } } ] - - Shortcut { - sequence: "Ctrl+U" - onActivated: switchUserButton.toggle() - } } AccountMenu {