mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-08-31 00:41:58 +00:00
fix max key length highlight #7
This commit is contained in:
parent
4cfaa05521
commit
b8871c52eb
@ -67,7 +67,7 @@ void KevaAddKeyDialog::onKeyChanged(const QString& key)
|
|||||||
|
|
||||||
keyCounterPalette.setColor(
|
keyCounterPalette.setColor(
|
||||||
QPalette::WindowText,
|
QPalette::WindowText,
|
||||||
keyTextLength > MAX_SCRIPT_ELEMENT_SIZE ? Qt::red : Qt::darkGreen
|
keyTextLength > 255 ? Qt::red : Qt::darkGreen
|
||||||
);
|
);
|
||||||
|
|
||||||
ui->keyCounter->setPalette(
|
ui->keyCounter->setPalette(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user