UserInfo: Move the switch user action to the menu
It doesn't clutter the main UI. It allows us to see the keyboard shortcut.
This commit is contained in:
committed by
Aleix Pol Gonzalez
parent
4bade72ce4
commit
91da2d01b7
@@ -36,6 +36,14 @@ KirigamiComponents.ConvergentContextMenu {
|
||||
}
|
||||
}
|
||||
|
||||
Kirigami.Action {
|
||||
text: i18nc("@action:inmenu", "Switch Account")
|
||||
icon.name: "system-switch-user"
|
||||
shortcut: "Ctrl+U"
|
||||
onTriggered: accountSwitchDialog.createObject(QQC2.Overlay.overlay, {
|
||||
connection: root.connection
|
||||
}).open();
|
||||
}
|
||||
QQC2.Action {
|
||||
text: i18n("Edit This Account")
|
||||
icon.name: "document-edit"
|
||||
|
||||
Reference in New Issue
Block a user