Skip to content

Commit

Permalink
[dnd form designer] Expand items by default
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Apr 18, 2013
1 parent 08ef4f8 commit 151369d
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 @@ -40,8 +40,8 @@ QTreeWidgetItem* QgsAttributesTree::addContainer( QTreeWidgetItem* parent, QStri
newItem->setBackground( 0 , QBrush( Qt::lightGray ) );
newItem->setFlags( Qt::ItemIsEditable | Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsDragEnabled | Qt::ItemIsDropEnabled );
newItem->setData( 0 , Qt::UserRole , "container" );
newItem->setExpanded( true );
parent->addChild( newItem );
newItem->setExpanded( true );
return newItem;
}

Expand Down

0 comments on commit 151369d

Please sign in to comment.