Skip to content

Commit

Permalink
Open editor in attribute table on single click
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 20, 2016
1 parent 0fcff9f commit 88db4f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/attributetable/qgsattributetableview.cpp
Expand Up @@ -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.
Expand Down

0 comments on commit 88db4f9

Please sign in to comment.