Browse Source

Merge pull request #10 from kvazar-network/validate-key-value-lenght

fix max key length highlight #7
kvazar
d47081 8 months ago committed by GitHub
parent
commit
8b81652d00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      src/qt/kevaaddkeydialog.cpp

2
src/qt/kevaaddkeydialog.cpp

@ -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…
Cancel
Save