Skip to content
Permalink
Browse files

Fix crash in attribute form after adding field

Fixes #18507
  • Loading branch information
nyalldawson committed Mar 22, 2018
1 parent 6b1255b commit c8f597983b17d2418f729214fcb4cfcbe5fb6118
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsattributeform.cpp
@@ -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 );

0 comments on commit c8f5979

Please sign in to comment.
You can’t perform that action at this time.