Skip to content
Permalink
Browse files

[QgsRelationReferenceWidget] make error label multiline

  • Loading branch information
3nids committed Sep 16, 2014
1 parent fb30b84 commit 7f3a5149c5bd7530f2fc9d01dd9e812a3967974c
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/editorwidgets/qgsrelationreferencewidget.cpp
@@ -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; } " );

0 comments on commit 7f3a514

Please sign in to comment.
You can’t perform that action at this time.