Skip to content

Commit c8f5979

Browse files
committed
Fix crash in attribute form after adding field
Fixes #18507
1 parent 6b1255b commit c8f5979

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gui/qgsattributeform.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -1108,6 +1108,7 @@ void QgsAttributeForm::init()
11081108
vl->addWidget( container );
11091109

11101110
mFormEditorWidgets.clear();
1111+
mFormWidgets.clear();
11111112

11121113
// a bar to warn the user with non-blocking messages
11131114
setContentsMargins( 0, 0, 0, 0 );

0 commit comments

Comments
 (0)