From ad6773b267e2bbdfc5e049a4bc8ac8b92980270e Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 21 Aug 2015 17:20:58 +0200 Subject: Add `q` command to close _MetaTerm_ in command mode --- src/command/CommandInput.qml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/command/CommandInput.qml') diff --git a/src/command/CommandInput.qml b/src/command/CommandInput.qml index dbc1d54..3e6c46c 100644 --- a/src/command/CommandInput.qml +++ b/src/command/CommandInput.qml @@ -8,12 +8,6 @@ Item { signal executed - visible: false - - Layout.preferredHeight: container.height - - onVisibleChanged: container.reset() - function focus(prefix) { visible = true; command.text = prefix; @@ -24,6 +18,12 @@ Item { visible = false; } + visible: false + + Layout.preferredHeight: container.height + + onVisibleChanged: container.reset() + Rectangle { anchors { top: parent.top -- cgit v1.2.3