mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-02 09:46:52 -05:00
qt: allow prompt icon to be colorized
This commit is contained in:
parent
7e83e74e7f
commit
2f23ad2c40
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue