Skip to content
Permalink
Browse files
Fix attribute table header feature selection (fixes #16520)
  • Loading branch information
nirvn committed May 6, 2017
1 parent 8d03642 commit 51d3fac
Showing 1 changed file with 1 addition and 1 deletion.
@@ -63,7 +63,7 @@ QgsAttributeTableView::QgsAttributeTableView( QWidget *parent )

verticalHeader()->viewport()->installEventFilter( this );

connect( verticalHeader(), &QHeaderView::sectionPressed, this, [ = ]( int row ) { selectRow( row, false ); } );
connect( verticalHeader(), &QHeaderView::sectionPressed, this, [ = ]( int row ) { selectRow( row, true ); } );
connect( verticalHeader(), &QHeaderView::sectionEntered, this, &QgsAttributeTableView::_q_selectRow );
connect( horizontalHeader(), &QHeaderView::sectionResized, this, &QgsAttributeTableView::columnSizeChanged );
connect( horizontalHeader(), &QHeaderView::sortIndicatorChanged, this, &QgsAttributeTableView::showHorizontalSortIndicator );

0 comments on commit 51d3fac

Please sign in to comment.