diff --git a/src/frontends/qt4/Qt2BC.cpp b/src/frontends/qt4/Qt2BC.cpp index 289ac65de9..9653c892ac 100644 --- a/src/frontends/qt4/Qt2BC.cpp +++ b/src/frontends/qt4/Qt2BC.cpp @@ -152,7 +152,7 @@ bool CheckedLineEdit::check() const else setWarningColor(input_); - if (!label_) { + if (label_) { if (valid) label_->setPalette(QPalette()); else