From dc209bc5d46e71b683045c485da33fbd72495943 Mon Sep 17 00:00:00 2001 From: miruka Date: Thu, 5 Sep 2019 16:28:06 -0400 Subject: [PATCH] Press esc to hide debug console --- src/qml/DebugConsole.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/qml/DebugConsole.qml b/src/qml/DebugConsole.qml index df290280..0c1f614a 100644 --- a/src/qml/DebugConsole.qml +++ b/src/qml/DebugConsole.qml @@ -4,6 +4,7 @@ import QtQuick.Layouts 1.12 import "Base" Window { + id: debugConsole title: qsTr("Debug console") width: 640 height: 480 @@ -31,6 +32,8 @@ Window { HColumnLayout { anchors.fill: parent + Keys.onEscapePressed: debugConsole.visible = false + HListView { id: commandsView spacing: theme.spacing