mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
fix unit test
This commit is contained in:
parent
ea950340db
commit
8774ad21b8
@ -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() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user