diff options
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 = "" } |
