Skip to content

Commit

Permalink
Merge pull request #515 from 3nids/duplicatecode
Browse files Browse the repository at this point in the history
remove duplicate code
  • Loading branch information
mach0 committed Apr 11, 2013
2 parents 4b06df0 + 254fc4d commit ac7201a
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 ac7201a

Please sign in to comment.