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

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

View File

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