Skip to content
Permalink
Browse files

Unlock resizing the result columns

  • Loading branch information
uclaros authored and nyalldawson committed Mar 3, 2020
1 parent 0bfff34 commit 9ebcf19253287d25ed10b7f923ea6f47d541d5e6
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/plugins/geometry_checker/qgsgeometrycheckerresulttab.cpp
@@ -106,10 +106,7 @@ QgsGeometryCheckerResultTab::QgsGeometryCheckerResultTab( QgisInterface *iface,
ui.tableWidgetErrors->horizontalHeader()->setSortIndicator( 0, Qt::AscendingOrder );
ui.tableWidgetErrors->resizeColumnToContents( 0 );
ui.tableWidgetErrors->resizeColumnToContents( 1 );
ui.tableWidgetErrors->horizontalHeader()->setSectionResizeMode( 2, QHeaderView::Stretch );
ui.tableWidgetErrors->horizontalHeader()->setSectionResizeMode( 3, QHeaderView::Stretch );
ui.tableWidgetErrors->horizontalHeader()->setSectionResizeMode( 4, QHeaderView::Stretch );
ui.tableWidgetErrors->horizontalHeader()->setSectionResizeMode( 5, QHeaderView::Stretch );
ui.tableWidgetErrors->horizontalHeader()->setStretchLastSection( true );
// Not sure why, but this is needed...
ui.tableWidgetErrors->setSortingEnabled( true );
ui.tableWidgetErrors->setSortingEnabled( false );

0 comments on commit 9ebcf19

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