aboutsummaryrefslogtreecommitdiff
path: root/src/command/CommandInput.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/CommandInput.qml')
-rw-r--r--src/command/CommandInput.qml12
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