mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-24 16:01:26 +02:00
qt: allow prompt icon to be colorized
This commit is contained in:
parent
7e83e74e7f
commit
2f23ad2c40
@ -508,6 +508,8 @@ RPCConsole::RPCConsole(interfaces::Node& node, const PlatformStyle *_platformSty
|
|||||||
//: Secondary shortcut to decrease the RPC console font size.
|
//: Secondary shortcut to decrease the RPC console font size.
|
||||||
GUIUtil::AddButtonShortcut(ui->fontSmallerButton, tr("Ctrl+_"));
|
GUIUtil::AddButtonShortcut(ui->fontSmallerButton, tr("Ctrl+_"));
|
||||||
|
|
||||||
|
ui->promptIcon->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/prompticon")));
|
||||||
|
|
||||||
// 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->lineEdit->setMaxLength(16 * 1024 * 1024);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user