mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Hide constraint warnings when there are no constraints
This commit is contained in:
parent
b4ff6683a6
commit
b6ee23919d
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user