Add escape to exit and clear room filter field
This commit is contained in:
@@ -95,6 +95,12 @@ Rectangle {
|
||||
|
||||
sidePaneList.activate()
|
||||
}
|
||||
Keys.onEscapePressed: {
|
||||
if (window.settings.clearRoomFilterOnEscape) {
|
||||
mainUI.sidePane.toolBar.roomFilter = ""
|
||||
}
|
||||
mainUI.pageLoader.forceActiveFocus()
|
||||
}
|
||||
|
||||
|
||||
HColumnLayout {
|
||||
|
Reference in New Issue
Block a user