Skip to content

Commit

Permalink
remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Apr 11, 2013
1 parent f59e21c commit 254fc4d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/app/qgsfieldsproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,13 +261,6 @@ void QgsFieldsProperties::loadAttributeEditorTree()
mAttributesTree->setDragDropMode( QAbstractItemView::InternalMove );
mAttributesTree->setAcceptDrops( true );
mAttributesTree->setDragDropMode( QAbstractItemView::DragDrop );
// tabs and groups info
mAttributesTree->clear();
mAttributesTree->setSortingEnabled( false );
mAttributesTree->setSelectionBehavior( QAbstractItemView::SelectRows );
mAttributesTree->setDragDropMode( QAbstractItemView::InternalMove );
mAttributesTree->setAcceptDrops( true );
mAttributesTree->setDragDropMode( QAbstractItemView::DragDrop );

QList<QgsAttributeEditorElement*> widgets = mLayer->attributeEditorElements();

Expand Down

0 comments on commit 254fc4d

Please sign in to comment.