qt: increase console command max length

This commit is contained in:
10xcryptodev committed 2020-05-26 18:54:49 -03:00
1 parent f8123d483c
commit fc6a637a01
1 file changed
+1
+1
View File
@@ -468,6 +468,7 @@ RPCConsole::RPCConsole(interfaces::Node& node, const PlatformStyle *_platformSty
// Install event filter for up and down arrow // Install event filter for up and down arrow
ui->lineEdit->installEventFilter(this); ui->lineEdit->installEventFilter(this);
ui->lineEdit->setMaxLength(16 * 1024 * 1024);
ui->messagesWidget->installEventFilter(this); ui->messagesWidget->installEventFilter(this);
connect(ui->clearButton, &QPushButton::clicked, this, &RPCConsole::clear); connect(ui->clearButton, &QPushButton::clicked, this, &RPCConsole::clear);