qt: increase console command max length

This commit is contained in:
10xcryptodev 2020-05-17 01:53:31 -03:00
parent f8123d483c
commit fc6a637a01
No known key found for this signature in database
GPG key ID: 5F636314819D02FA

View file

@ -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);