Add shortcut to focus filter rooms field
This commit is contained in:
@@ -29,6 +29,11 @@ Item {
|
||||
onActivated: smartVerticalFlick(335)
|
||||
}
|
||||
|
||||
Shortcut {
|
||||
sequences: settings.keys ? settings.keys.filterRooms : []
|
||||
onActivated: mainUI.sidePane.paneToolBar.filterField.forceActiveFocus()
|
||||
}
|
||||
|
||||
Shortcut {
|
||||
sequences: settings.keys ? settings.keys.startDebugger : []
|
||||
onActivated: if (debugMode) { py.call("APP.pdb") }
|
||||
|
@@ -5,6 +5,7 @@ import "../Base"
|
||||
HRowLayout {
|
||||
id: toolBar
|
||||
|
||||
property alias filterField: filterField
|
||||
property alias roomFilter: filterField.text
|
||||
|
||||
Layout.fillWidth: true
|
||||
|
@@ -10,6 +10,8 @@ HRectangle {
|
||||
|
||||
color: theme.sidePane.background
|
||||
|
||||
property alias paneToolBar: paneToolBar
|
||||
|
||||
property real autoWidthRatio: theme.sidePane.autoWidthRatio
|
||||
property bool manuallyResizing: false
|
||||
property bool manuallyResized: false
|
||||
|
@@ -10,6 +10,8 @@ HRectangle {
|
||||
color: theme.ui.background
|
||||
Component.onCompleted: window.mainUI = mainUI
|
||||
|
||||
property alias sidePane: sidePane
|
||||
property alias pageStack: pageStack
|
||||
property alias pressAnimation: _pressAnimation
|
||||
|
||||
SequentialAnimation {
|
||||
|
Reference in New Issue
Block a user