diff options
Diffstat (limited to 'desktop/assistant')
| -rw-r--r-- | desktop/assistant/Assistant.qml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/desktop/assistant/Assistant.qml b/desktop/assistant/Assistant.qml index 33616ad..2641a5e 100644 --- a/desktop/assistant/Assistant.qml +++ b/desktop/assistant/Assistant.qml @@ -74,6 +74,9 @@ Scope { property var convs: [] property var results: [] readonly property bool busy: root.state !== "idle" + // A reply finished (not stopped). The canvas notifies through notifyDone; + // the desktop companion waves. + signal replied() // A daemon gone mid-reply sends no idle; its hello on return redraws. onConnectedChanged: if (!root.connected) { @@ -405,7 +408,10 @@ Scope { } if (!e.stopped) root.convId = e.id; root.lastActive = Date.now(); - if (!e.stopped && i >= 0) root.notifyDone(turns.get(i).reply); + if (!e.stopped && i >= 0) { + root.notifyDone(turns.get(i).reply); + root.replied(); + } break; case "progress": if (root.opDaemon) root.opChars = e.chars; break; case "written": |
