Skip to content
Permalink
Browse files
Correctly load dnd relations in fields properties
Fix #10065
  • Loading branch information
m-kuhn committed May 25, 2014
1 parent 2700bcd commit 35de393d8d1bc502c0e61848ab98b58803fefea5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsfieldsproperties.cpp
@@ -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:

0 comments on commit 35de393

Please sign in to comment.