Skip to content

Commit

Permalink
Fix a crash on attribute form widget
Browse files Browse the repository at this point in the history
Fixes #19388 - Consistent crash with join layer
  • Loading branch information
elpaso committed Oct 3, 2018
1 parent f4bc24c commit 2609815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsattributeform.cpp
Expand Up @@ -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() );
Expand Down

0 comments on commit 2609815

Please sign in to comment.