aboutsummaryrefslogtreecommitdiff
path: root/qml/CommandInput.qml
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-08-09 20:32:14 +0200
committerAdrian Kummerlaender2015-08-09 20:32:14 +0200
commita426875daba0cb923435be835f0100fe13a6255a (patch)
treef4c62ca9a365cf7f86af13658378095415ea1d65 /qml/CommandInput.qml
parentb911109321dd438ff3a7d389e8c6f17097769286 (diff)
downloadMetaTerm-a426875daba0cb923435be835f0100fe13a6255a.tar
MetaTerm-a426875daba0cb923435be835f0100fe13a6255a.tar.gz
MetaTerm-a426875daba0cb923435be835f0100fe13a6255a.tar.bz2
MetaTerm-a426875daba0cb923435be835f0100fe13a6255a.tar.lz
MetaTerm-a426875daba0cb923435be835f0100fe13a6255a.tar.xz
MetaTerm-a426875daba0cb923435be835f0100fe13a6255a.tar.zst
MetaTerm-a426875daba0cb923435be835f0100fe13a6255a.zip
Return to normal mode after command evaluation
Requires new `executed` signal in `CommandInput` component to correctly trigger the state change.
Diffstat (limited to 'qml/CommandInput.qml')
-rw-r--r--qml/CommandInput.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/qml/CommandInput.qml b/qml/CommandInput.qml
index e7defbf..5010891 100644
--- a/qml/CommandInput.qml
+++ b/qml/CommandInput.qml
@@ -7,6 +7,8 @@ import "commands.js" as Commands
Item {
id: item
+ signal executed
+
visible: false
Settings {
@@ -62,6 +64,8 @@ Item {
console.log('"' + prefix + '"' + " is not a command prefix");
}
}
+
+ item.executed();
}
}
}