aboutsummaryrefslogtreecommitdiff
path: root/src/qt/rpcconsole.cpp
diff options
context:
space:
mode:
author10xcryptodev <10xcryptodev@gmail.com>2020-05-17 01:53:31 -0300
committer10xcryptodev <10xcryptodev@gmail.com>2020-05-26 18:54:49 -0300
commitfc6a637a013daeb14b2f93652d7f494f3b8462aa (patch)
treecc0b71a8895f8a47bdaead84f17889b17cb585e3 /src/qt/rpcconsole.cpp
parentf8123d483caaee64c28be77fb5b6ae12293ddc4a (diff)
downloadbitcoin-fc6a637a013daeb14b2f93652d7f494f3b8462aa.tar.xz
qt: increase console command max length
Diffstat (limited to 'src/qt/rpcconsole.cpp')
-rw-r--r--src/qt/rpcconsole.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index 2d4af3f9e6..6df18012ef 100644
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -468,6 +468,7 @@ RPCConsole::RPCConsole(interfaces::Node& node, const PlatformStyle *_platformSty
// Install event filter for up and down arrow
ui->lineEdit->installEventFilter(this);
+ ui->lineEdit->setMaxLength(16 * 1024 * 1024);
ui->messagesWidget->installEventFilter(this);
connect(ui->clearButton, &QPushButton::clicked, this, &RPCConsole::clear);