Skip to content
Permalink
Browse files

Hide constraint warnings when there are no constraints

  • Loading branch information
m-kuhn committed Oct 18, 2016
1 parent b8e41e8 commit e22b1953f38b3877c1369c2139364f2c4863f7de
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/gui/qgsattributeform.cpp
@@ -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:

0 comments on commit e22b195

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