Rename keybind focusMainPane → toggleFocusMainPane

This commit is contained in:
miruka 2020-03-17 16:55:16 -04:00
parent 53bace3915
commit 3568abb9af
2 changed files with 6 additions and 6 deletions

View File

@ -229,11 +229,11 @@ class UISettings(JSONDataFile):
"previousTab": ["Alt+Shift+Left", "Alt+Shift+H"], "previousTab": ["Alt+Shift+Left", "Alt+Shift+H"],
"nextTab": ["Alt+Shift+Right", "Alt+Shift+L"], "nextTab": ["Alt+Shift+Right", "Alt+Shift+L"],
"focusMainPane": ["Alt+S"], "toggleFocusMainPane": ["Alt+S"],
"clearRoomFilter": ["Alt+Shift+S"], "clearRoomFilter": ["Alt+Shift+S"],
"accountSettings": ["Alt+A"], "accountSettings": ["Alt+A"],
"addNewChat": ["Alt+N"], "addNewChat": ["Alt+N"],
"addNewAccount": ["Alt+Shift+N"], "addNewAccount": ["Alt+Shift+N"],
"goToLastPage": ["Ctrl+Tab"], "goToLastPage": ["Ctrl+Tab"],
"goToPreviousRoom": ["Alt+Shift+Up", "Alt+Shift+K"], "goToPreviousRoom": ["Alt+Shift+Up", "Alt+Shift+K"],

View File

@ -147,7 +147,7 @@ Item {
HShortcut { HShortcut {
enabled: mainUI.accountsPresent enabled: mainUI.accountsPresent
sequences: settings.keys.focusMainPane sequences: settings.keys.toggleFocusMainPane
onActivated: mainUI.mainPane.toggleFocus() onActivated: mainUI.mainPane.toggleFocus()
context: Qt.ApplicationShortcut context: Qt.ApplicationShortcut
} }