mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-31 01:04:20 +00:00
Merge pull request #10 from kvazar-network/validate-key-value-lenght
fix max key length highlight #7
This commit is contained in:
commit
8b81652d00
@ -67,7 +67,7 @@ void KevaAddKeyDialog::onKeyChanged(const QString& key)
|
||||
|
||||
keyCounterPalette.setColor(
|
||||
QPalette::WindowText,
|
||||
keyTextLength > MAX_SCRIPT_ELEMENT_SIZE ? Qt::red : Qt::darkGreen
|
||||
keyTextLength > 255 ? Qt::red : Qt::darkGreen
|
||||
);
|
||||
|
||||
ui->keyCounter->setPalette(
|
||||
|
Loading…
x
Reference in New Issue
Block a user