Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix crash in attribute form after adding field
Fixes #18507
  • Loading branch information
nyalldawson committed Mar 22, 2018
1 parent 6b1255b commit c8f5979
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsattributeform.cpp
Expand Up @@ -1108,6 +1108,7 @@ void QgsAttributeForm::init()
vl->addWidget( container );

mFormEditorWidgets.clear();
mFormWidgets.clear();

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

0 comments on commit c8f5979

Please sign in to comment.