Press esc to hide debug console
This commit is contained in:
parent
58d491a2b3
commit
dc209bc5d4
|
@ -4,6 +4,7 @@ import QtQuick.Layouts 1.12
|
||||||
import "Base"
|
import "Base"
|
||||||
|
|
||||||
Window {
|
Window {
|
||||||
|
id: debugConsole
|
||||||
title: qsTr("Debug console")
|
title: qsTr("Debug console")
|
||||||
width: 640
|
width: 640
|
||||||
height: 480
|
height: 480
|
||||||
|
@ -31,6 +32,8 @@ Window {
|
||||||
HColumnLayout {
|
HColumnLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
|
Keys.onEscapePressed: debugConsole.visible = false
|
||||||
|
|
||||||
HListView {
|
HListView {
|
||||||
id: commandsView
|
id: commandsView
|
||||||
spacing: theme.spacing
|
spacing: theme.spacing
|
||||||
|
|
Loading…
Reference in New Issue
Block a user