Browse Source

fix max key length highlight #7

validate-key-value-lenght
kvazar 8 months ago
parent
commit
b8871c52eb
  1. 2
      src/qt/kevaaddkeydialog.cpp

2
src/qt/kevaaddkeydialog.cpp

@ -67,7 +67,7 @@ void KevaAddKeyDialog::onKeyChanged(const QString& key) @@ -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…
Cancel
Save