Skip to content
Permalink
Browse files

Merge pull request #3084 from nyalldawson/single_click_ediit

Open editor in attribute table on single click
  • Loading branch information
m-kuhn committed May 22, 2016
2 parents b692375 + 88db4f9 commit 13f053b7d5a6555da74e36e1eeb50e46565d4f4c
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 13f053b

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