aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2017-03-27 10:19:55 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2017-03-27 10:25:52 +0200
commit72785377306764ab999e4bab13b821e4e5ea11eb (patch)
treea4956a288edd9ccb9ee395e86c531a24eb562a44
parentdb1ae5470babb3a0f8317036d3f563951171f888 (diff)
[Qt] Don't add arguments of sensitive command to console window
-rw-r--r--src/qt/rpcconsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index 7a0d0b3e0a..bbcc3b6c0c 100644
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -825,7 +825,7 @@ void RPCConsole::on_lineEdit_returnPressed()
cmdBeforeBrowsing = QString();
- message(CMD_REQUEST, cmd);
+ message(CMD_REQUEST, QString::fromStdString(strFilteredCmd));
Q_EMIT cmdRequest(cmd);
cmd = QString::fromStdString(strFilteredCmd);