diff options
author | Adrian Kummerlaender | 2015-08-21 17:20:58 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2015-08-21 17:20:58 +0200 |
commit | ad6773b267e2bbdfc5e049a4bc8ac8b92980270e (patch) | |
tree | d39f3d971dea6fdb6d24f0c4f86648492adeb815 /src/command/CommandInput.qml | |
parent | 75891e7c90ff8ec3533a6a1e9aac66501693d561 (diff) | |
download | MetaTerm-ad6773b267e2bbdfc5e049a4bc8ac8b92980270e.tar MetaTerm-ad6773b267e2bbdfc5e049a4bc8ac8b92980270e.tar.gz MetaTerm-ad6773b267e2bbdfc5e049a4bc8ac8b92980270e.tar.bz2 MetaTerm-ad6773b267e2bbdfc5e049a4bc8ac8b92980270e.tar.lz MetaTerm-ad6773b267e2bbdfc5e049a4bc8ac8b92980270e.tar.xz MetaTerm-ad6773b267e2bbdfc5e049a4bc8ac8b92980270e.tar.zst MetaTerm-ad6773b267e2bbdfc5e049a4bc8ac8b92980270e.zip |
Add `q` command to close _MetaTerm_ in command mode
Diffstat (limited to 'src/command/CommandInput.qml')
-rw-r--r-- | src/command/CommandInput.qml | 12 |
1 files changed, 6 insertions, 6 deletions
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 |