Skip to content

Commit

Permalink
[QgsRelationReferenceWidget] make error label multiline
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Sep 16, 2014
1 parent fb30b84 commit 7f3a514
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/editorwidgets/qgsrelationreferencewidget.cpp
Expand Up @@ -165,6 +165,7 @@ void QgsRelationReferenceWidget::setRelation( QgsRelation relation, bool allowNu
else
{
QLabel* lbl = new QLabel( tr( "The relation is not valid. Please make sure your relation definitions are ok." ) );
lbl->setWordWrap( true );
QFont font = lbl->font();
font.setItalic( true );
lbl->setStyleSheet( "QLabel { color: red; } " );
Expand Down

0 comments on commit 7f3a514

Please sign in to comment.