crash fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20012 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2007-09-02 19:54:01 +00:00
parent 052e9071e9
commit a00ef3ff93

View File

@ -152,7 +152,7 @@ bool CheckedLineEdit::check() const
else
setWarningColor(input_);
if (!label_) {
if (label_) {
if (valid)
label_->setPalette(QPalette());
else