]> git.lyx.org Git - lyx.git/commitdiff
crash fix
authorAlfredo Braunstein <abraunst@lyx.org>
Sun, 2 Sep 2007 19:54:01 +0000 (19:54 +0000)
committerAlfredo Braunstein <abraunst@lyx.org>
Sun, 2 Sep 2007 19:54:01 +0000 (19:54 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20012 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/Qt2BC.cpp

index 289ac65de93b93c00557c5886b8f0b0f0c27b6d6..9653c892ac227e5e97c34fd5072cf084e85f3603 100644 (file)
@@ -152,7 +152,7 @@ bool CheckedLineEdit::check() const
        else
                setWarningColor(input_);
 
-       if (!label_) {
+       if (label_) {
                if (valid)
                        label_->setPalette(QPalette());
                else