Skip to content
Permalink
Browse files

fix unit test

  • Loading branch information
pblottiere committed May 31, 2016
1 parent ea95034 commit 8774ad21b808ad92620c06525cec522161f43429
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/qgsattributeform.cpp
@@ -1144,13 +1144,14 @@ void QgsAttributeForm::init()
w = formWidget;
mFormEditorWidgets.insert( idx, formWidget );
formWidget->createSearchWidgetWrappers( widgetType, idx, widgetConfig, mContext );

l->setBuddy( eww->widget() );
}
else
{
w = new QLabel( QString( "<p style=\"color: red; font-style: italic;\">Failed to create widget with type '%1'</p>" ).arg( widgetType ) );
}

l->setBuddy( eww->widget() );

if ( w )
w->setObjectName( field.name() );

0 comments on commit 8774ad2

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