aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author10xcryptodev <[email protected]>2020-05-17 01:53:31 -0300
committer10xcryptodev <[email protected]>2020-05-26 18:54:49 -0300
commitfc6a637a013daeb14b2f93652d7f494f3b8462aa (patch)
treecc0b71a8895f8a47bdaead84f17889b17cb585e3
parentMerge #18952: test: avoid os-dependant path (diff)
downloaddiscoin-fc6a637a013daeb14b2f93652d7f494f3b8462aa.tar.xz
discoin-fc6a637a013daeb14b2f93652d7f494f3b8462aa.zip
qt: increase console command max length
-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 2d4af3f9e..6df18012e 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);