Skip to content

Commit 7e2865c

Browse files
committed
Fix "Relation form grows infinitely"
Fix #14977
1 parent 0c10f68 commit 7e2865c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gui/attributetable/qgsdualview.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ void QgsDualView::init( QgsVectorLayer* layer, QgsMapCanvas* mapCanvas, const Qg
8686

8787
mTableView->setModel( mFilterModel );
8888
mFeatureList->setModel( mFeatureListModel );
89+
delete mAttributeForm;
8990
mAttributeForm = new QgsAttributeForm( layer, QgsFeature(), mEditorContext );
9091
if ( !context.parentContext() )
9192
{

0 commit comments

Comments
 (0)