diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-10-14 17:50:54 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-10-14 17:50:54 -0500 |
| commit | 897d879dad7443550be832f62e199291487453de (patch) | |
| tree | 5503f9ccb4444c92442a2a88716e11b02e10593a /components | |
| parent | e6458b58ef34a74aa45d48d54ac7b659a2400c8c (diff) | |
| parent | 32257c8fab83cab89811111284cdca8bf5e9dbac (diff) | |
| download | monzero-gui-897d879dad7443550be832f62e199291487453de.tar.gz monzero-gui-897d879dad7443550be832f62e199291487453de.tar.xz monzero-gui-897d879dad7443550be832f62e199291487453de.zip | |
Merge pull request #2398
32257c8 DaemonManager: implement async sendCommand (xiphon)
Diffstat (limited to 'components')
| -rw-r--r-- | components/DaemonConsole.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/components/DaemonConsole.qml b/components/DaemonConsole.qml index 0138473b..20e14fe4 100644 --- a/components/DaemonConsole.qml +++ b/components/DaemonConsole.qml @@ -178,7 +178,11 @@ Window { onAccepted: { if(text.length > 0) { textArea.logCommand(">>> " + text) - daemonManager.sendCommand(text, currentWallet.nettype); + daemonManager.sendCommandAsync(text.split(" "), currentWallet.nettype, function(result) { + if (!result) { + appWindow.showStatusMessage(qsTr("Failed to send command"), 3); + } + }); } text = "" } |
