mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Open editor in attribute table on single click
This commit is contained in:
parent
0fcff9f2a0
commit
88db4f9ad3
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user