Add keybind to open presence (account) menu

This commit is contained in:
miruka 2020-07-10 14:59:55 -04:00
parent b6b02ee6a7
commit 3848ce60ca
2 changed files with 8 additions and 1 deletions

View File

@ -298,7 +298,8 @@ class UISettings(JSONDataFile):
"addNewChat": ["Alt+C"], "addNewChat": ["Alt+C"],
"toggleFocusMainPane": ["Alt+F"], "toggleFocusMainPane": ["Alt+F"],
"clearRoomFilter": ["Alt+Shift+F"], "clearRoomFilter": ["Alt+Shift+F"],
"toggleCollapseAccount": [ "Alt+O"], "toggleCollapseAccount": ["Alt+O"],
"openPresenceMenu": ["Alt+P"],
"goToLastPage": ["Ctrl+Tab"], "goToLastPage": ["Ctrl+Tab"],
"goToPreviousAccount": ["Alt+Shift+N"], "goToPreviousAccount": ["Alt+Shift+N"],

View File

@ -211,4 +211,10 @@ HTile {
sequences: window.settings.keys.toggleCollapseAccount sequences: window.settings.keys.toggleCollapseAccount
onActivated: toggleCollapse() onActivated: toggleCollapse()
} }
HShortcut {
enabled: enableKeybinds
sequences: window.settings.keys.openPresenceMenu
onActivated: account.doRightClick(false)
}
} }