Add keybind to clear room filter
This commit is contained in:
parent
af14038909
commit
314b2c30ad
|
@ -119,6 +119,7 @@ class UISettings(JSONConfigFile):
|
|||
"scrollUp": ["Alt+Up", "Alt+K"],
|
||||
"scrollDown": ["Alt+Down", "Alt+J"],
|
||||
"focusSidePane": ["Alt+S", "Ctrl+S"],
|
||||
"clearRoomFilter": ["Alt+Shift+S", "Ctrl+Shift+S"],
|
||||
"goToPreviousRoom": ["Alt+Shift+Up", "Alt+Shift+K"],
|
||||
"goToNextRoom": ["Alt+Shift+Down", "Alt+Shift+J"],
|
||||
"startDebugger": ["Alt+Shift+D"],
|
||||
|
|
|
@ -41,6 +41,11 @@ Item {
|
|||
onActivated: mainUI.sidePane.forceActiveFocus()
|
||||
}
|
||||
|
||||
Shortcut {
|
||||
sequences: settings.keys ? settings.keys.clearRoomFilter : []
|
||||
onActivated: mainUI.sidePane.paneToolBar.roomFilter = ""
|
||||
}
|
||||
|
||||
Shortcut {
|
||||
sequences: settings.keys ? settings.keys.goToPreviousRoom : []
|
||||
onActivated: mainUI.sidePane.accountRoomList.previous()
|
||||
|
|
Loading…
Reference in New Issue
Block a user