Skip to content
Permalink
Browse files

Remove multiselect from fields tab in layer properties

  • Loading branch information
NathanW2 committed Jan 28, 2012
1 parent db01e7b commit 03b1f1454f95eb9eeb19ebb8ce2e9724d09570ab
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgsvectorlayerproperties.cpp
@@ -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++ )

0 comments on commit 03b1f14

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