aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/settings/SettingsLog.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/pages/settings/SettingsLog.qml b/pages/settings/SettingsLog.qml
index eccd79b6..05101376 100644
--- a/pages/settings/SettingsLog.qml
+++ b/pages/settings/SettingsLog.qml
@@ -216,7 +216,11 @@ Rectangle {
onAccepted: {
if(text.length > 0) {
consoleArea.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 = ""
}