Add ctrl+tab keybind to go to last page
This commit is contained in:
parent
b53acb3113
commit
a9a99e4a65
|
@ -134,6 +134,7 @@ class UISettings(JSONConfigFile):
|
||||||
"clearRoomFilter": ["Alt+Shift+S", "Ctrl+Shift+S"],
|
"clearRoomFilter": ["Alt+Shift+S", "Ctrl+Shift+S"],
|
||||||
"addNewAccount": ["Alt+N"],
|
"addNewAccount": ["Alt+N"],
|
||||||
|
|
||||||
|
"goToLastPage": ["Ctrl+Tab"],
|
||||||
"goToPreviousRoom": ["Alt+Shift+Up", "Alt+Shift+K"],
|
"goToPreviousRoom": ["Alt+Shift+Up", "Alt+Shift+K"],
|
||||||
"goToNextRoom": ["Alt+Shift+Down", "Alt+Shift+J"],
|
"goToNextRoom": ["Alt+Shift+Down", "Alt+Shift+J"],
|
||||||
"toggleCollapseAccount": [
|
"toggleCollapseAccount": [
|
||||||
|
|
|
@ -25,6 +25,13 @@ HShortcutHandler {
|
||||||
onPressed: py.loadSettings(() => { mainUI.pressAnimation.start() })
|
onPressed: py.loadSettings(() => { mainUI.pressAnimation.start() })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Pages
|
||||||
|
|
||||||
|
HShortcut {
|
||||||
|
sequences: settings.keys.goToLastPage
|
||||||
|
onPressed: mainUI.pageLoader.showPrevious()
|
||||||
|
}
|
||||||
|
|
||||||
// Page scrolling
|
// Page scrolling
|
||||||
|
|
||||||
HShortcut {
|
HShortcut {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user