Skip to content

Commit 88db4f9

Browse files
committed
Open editor in attribute table on single click
1 parent 0fcff9f commit 88db4f9

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)