Skip to content

Commit

Permalink
Remove multiselect from fields tab in layer properties
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Jan 28, 2012
1 parent db01e7b commit 03b1f14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgsvectorlayerproperties.cpp
Expand Up @@ -215,7 +215,8 @@ void QgsVectorLayerProperties::loadRows()
tblAttributes->horizontalHeader()->setResizeMode( 1, QHeaderView::Stretch );
tblAttributes->horizontalHeader()->setResizeMode( 7, QHeaderView::Stretch );
tblAttributes->setSelectionBehavior( QAbstractItemView::SelectRows );
tblAttributes->setSelectionMode( QAbstractItemView::MultiSelection );
tblAttributes->setSelectionMode( QAbstractItemView::SingleSelection );
tblAttributes->verticalHeader()->hide();

int row = 0;
for ( QgsFieldMap::const_iterator it = fields.begin(); it != fields.end(); it++, row++ )
Expand Down

0 comments on commit 03b1f14

Please sign in to comment.