From b8871c52ebf469477adefecb2cb4155c7af23d6d Mon Sep 17 00:00:00 2001 From: kvazar Date: Sat, 30 Mar 2024 08:05:17 +0200 Subject: [PATCH] fix max key length highlight #7 --- src/qt/kevaaddkeydialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/kevaaddkeydialog.cpp b/src/qt/kevaaddkeydialog.cpp index 9877fb2a0..c70289112 100644 --- a/src/qt/kevaaddkeydialog.cpp +++ b/src/qt/kevaaddkeydialog.cpp @@ -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(