Skip to content

Commit

Permalink
Correctly load dnd relations in fields properties
Browse files Browse the repository at this point in the history
Fix #10065
  • Loading branch information
m-kuhn committed May 25, 2014
1 parent 2700bcd commit 35de393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsfieldsproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ QTreeWidgetItem *QgsFieldsProperties::loadAttributeEditorTreeItem( QgsAttributeE
break;

case QgsAttributeEditorElement::AeTypeRelation:
newWidget = mDesignerTree->addItem( parent, DesignerTreeItemData( DesignerTreeItemData::Field, widgetDef->name() ) );
newWidget = mDesignerTree->addItem( parent, DesignerTreeItemData( DesignerTreeItemData::Relation, widgetDef->name() ) );
break;

case QgsAttributeEditorElement::AeTypeContainer:
Expand Down

0 comments on commit 35de393

Please sign in to comment.