From a00ef3ff9355495a110e37662b14d70a04a11c07 Mon Sep 17 00:00:00 2001 From: Alfredo Braunstein Date: Sun, 2 Sep 2007 19:54:01 +0000 Subject: [PATCH] crash fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20012 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/Qt2BC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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