Skip to content

Commit

Permalink
Hide constraint warnings when there are no constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 21, 2016
1 parent b4ff668 commit b6ee239
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gui/qgsattributeform.cpp
Expand Up @@ -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:
Expand Down

0 comments on commit b6ee239

Please sign in to comment.