Skip to content

Commit 13f053b

Browse files
committed
Merge pull request #3084 from nyalldawson/single_click_ediit
Open editor in attribute table on single click
2 parents b692375 + 88db4f9 commit 13f053b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gui/attributetable/qgsattributetableview.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ QgsAttributeTableView::QgsAttributeTableView( QWidget *parent )
5757
mTableDelegate = new QgsAttributeTableDelegate( this );
5858
setItemDelegate( mTableDelegate );
5959

60+
setEditTriggers( QAbstractItemView::AllEditTriggers );
61+
6062
setSelectionBehavior( QAbstractItemView::SelectRows );
6163
setSelectionMode( QAbstractItemView::ExtendedSelection );
6264
setSortingEnabled( true ); // At this point no data is in the model yet, so actually nothing is sorted.

0 commit comments

Comments
 (0)