Skip to content
Permalink
Browse files

Fix a crash on attribute form widget

Fixes #19388 - Consistent crash with join layer
  • Loading branch information
elpaso committed Oct 3, 2018
1 parent f4bc24c commit 2609815cd134112489a3933461324c176cafcbe8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsattributeform.cpp
@@ -1654,7 +1654,7 @@ QgsAttributeForm::WidgetInfo QgsAttributeForm::createWidgetFromDef( const QgsAtt
addWidgetWrapper( eww );

newWidgetInfo.widget->setObjectName( fields.at( fldIdx ).name() );
newWidgetInfo.hint = fields.at( fieldDef->idx() ).comment();
newWidgetInfo.hint = fields.at( fldIdx ).comment();
}

newWidgetInfo.labelOnTop = mLayer->editFormConfig().labelOnTop( fieldDef->idx() );

0 comments on commit 2609815

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