Skip to content
Permalink
Browse files

Hide constraint warnings when there are no constraints

  • Loading branch information
m-kuhn committed Oct 21, 2016
1 parent b4ff668 commit b6ee23919da9e1b8d93a92d26eb48d6afc59613b
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/gui/qgsattributeform.cpp
@@ -189,20 +189,17 @@ void QgsAttributeForm::setMode( QgsAttributeForm::Mode mode )
case QgsAttributeForm::SingleEditMode:
setFeature( mFeature );
mSearchButtonBox->setVisible( false );
mTopMessageWidget->show();
break;

case QgsAttributeForm::AddFeatureMode:
synchronizeEnabledState();
mSearchButtonBox->setVisible( false );
mTopMessageWidget->show();
break;

case QgsAttributeForm::MultiEditMode:
resetMultiEdit( false );
synchronizeEnabledState();
mSearchButtonBox->setVisible( false );
mTopMessageWidget->show();
break;

case QgsAttributeForm::SearchMode:

0 comments on commit b6ee239

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