From a426875daba0cb923435be835f0100fe13a6255a Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 9 Aug 2015 20:32:14 +0200 Subject: Return to normal mode after command evaluation Requires new `executed` signal in `CommandInput` component to correctly trigger the state change. --- qml/CommandInput.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qml/CommandInput.qml') 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(); } } } -- cgit v1.2.3