Skip to content
Permalink
Browse files

Open editor in attribute table on single click

  • Loading branch information
nyalldawson committed May 20, 2016
1 parent 0fcff9f commit 88db4f9ad33e09ad089c03086ac80f3f5261740b
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/attributetable/qgsattributetableview.cpp
@@ -57,6 +57,8 @@ QgsAttributeTableView::QgsAttributeTableView( QWidget *parent )
mTableDelegate = new QgsAttributeTableDelegate( this );
setItemDelegate( mTableDelegate );

setEditTriggers( QAbstractItemView::AllEditTriggers );

setSelectionBehavior( QAbstractItemView::SelectRows );
setSelectionMode( QAbstractItemView::ExtendedSelection );
setSortingEnabled( true ); // At this point no data is in the model yet, so actually nothing is sorted.

0 comments on commit 88db4f9

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