Skip to content

Commit 03b1f14

Browse files
committedJan 28, 2012
Remove multiselect from fields tab in layer properties
1 parent db01e7b commit 03b1f14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/app/qgsvectorlayerproperties.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ void QgsVectorLayerProperties::loadRows()
215215
tblAttributes->horizontalHeader()->setResizeMode( 1, QHeaderView::Stretch );
216216
tblAttributes->horizontalHeader()->setResizeMode( 7, QHeaderView::Stretch );
217217
tblAttributes->setSelectionBehavior( QAbstractItemView::SelectRows );
218-
tblAttributes->setSelectionMode( QAbstractItemView::MultiSelection );
218+
tblAttributes->setSelectionMode( QAbstractItemView::SingleSelection );
219+
tblAttributes->verticalHeader()->hide();
219220

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

0 commit comments

Comments
 (0)
Please sign in to comment.