Skip to content

Commit 366d05a

Browse files
authored
Merge pull request #9432 from tudorbarascu/constraint_description
always show constraints description, not only when they fail
2 parents de80192 + 840d205 commit 366d05a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgsattributeformeditorwidget.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ void QgsAttributeFormEditorWidget::setConstraintStatus( const QString &constrain
104104

105105
case QgsEditorWidgetWrapper::ConstraintResultPass:
106106
mConstraintResultLabel->setText( QStringLiteral( "<font color=\"#259B24\">%1</font>" ).arg( QChar( 0x2714 ) ) );
107-
mConstraintResultLabel->setToolTip( QString() );
107+
mConstraintResultLabel->setToolTip( description );
108108
break;
109109
}
110110
}

0 commit comments

Comments
 (0)