Let escape presses work properly inside HDrawer

Also add escape to clear member filter when focusing the field, and
clearMemberFilterOnEscape setting.
This commit is contained in:
miruka
2020-05-14 02:24:28 -04:00
parent 45048e625c
commit bbb00dd8a0
4 changed files with 10 additions and 1 deletions

View File

@@ -207,9 +207,12 @@ HDrawer {
Keys.onUpPressed:
if (historyEntry + 1 < history.length ) historyEntry += 1
Keys.onDownPressed:
if (historyEntry - 1 >= -1) historyEntry -= 1
Keys.onEscapePressed: debugConsole.close()
Layout.fillWidth: true
}