Update ui when linking feature for any relation type

This commit is contained in:
Julien Cabieces 2019-10-28 12:00:17 +01:00
parent b23a972be2
commit e8d1a236d3

View File

@ -517,9 +517,6 @@ void QgsRelationEditorWidget::linkFeature()
for ( const QgsFeature &f : constNewFeatures ) for ( const QgsFeature &f : constNewFeatures )
ids << f.id(); ids << f.id();
mRelation.referencingLayer()->selectByIds( ids ); mRelation.referencingLayer()->selectByIds( ids );
updateUi();
} }
else else
{ {
@ -543,6 +540,8 @@ void QgsRelationEditorWidget::linkFeature()
} }
} }
} }
updateUi();
} }
} }