Skip to content

Commit

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

Please sign in to comment.