Skip to content
Permalink
Browse files

[dnd form designer] Expand items by default

  • Loading branch information
m-kuhn committed Apr 18, 2013
1 parent 08ef4f8 commit 151369db45ba7ebf20e1ae49e063a2ca5bce599c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsfieldsproperties.cpp
@@ -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;
}

0 comments on commit 151369d

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