diff --git a/src/python/config_files.py b/src/python/config_files.py index 23b0dc06..7dba7316 100644 --- a/src/python/config_files.py +++ b/src/python/config_files.py @@ -134,6 +134,7 @@ class UISettings(JSONConfigFile): "clearRoomFilter": ["Alt+Shift+S", "Ctrl+Shift+S"], "addNewAccount": ["Alt+N"], + "goToLastPage": ["Ctrl+Tab"], "goToPreviousRoom": ["Alt+Shift+Up", "Alt+Shift+K"], "goToNextRoom": ["Alt+Shift+Down", "Alt+Shift+J"], "toggleCollapseAccount": [ diff --git a/src/qml/Shortcuts.qml b/src/qml/Shortcuts.qml index da153594..d20d1df3 100644 --- a/src/qml/Shortcuts.qml +++ b/src/qml/Shortcuts.qml @@ -25,6 +25,13 @@ HShortcutHandler { onPressed: py.loadSettings(() => { mainUI.pressAnimation.start() }) } + // Pages + + HShortcut { + sequences: settings.keys.goToLastPage + onPressed: mainUI.pageLoader.showPrevious() + } + // Page scrolling HShortcut {