Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Nicer initial dialog cell sizes
  • Loading branch information
nyalldawson committed Jan 14, 2020
1 parent 979af78 commit 515a6b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/tableeditor/qgstableeditordialog.cpp
Expand Up @@ -113,6 +113,8 @@ void QgsTableEditorDialog::setTableContents( const QgsTableContents &contents )
{
mBlockSignals = true;
mTableWidget->setTableContents( contents );
mTableWidget->resizeRowsToContents();
mTableWidget->resizeColumnsToContents();
mBlockSignals = false;
}

Expand Down

0 comments on commit 515a6b1

Please sign in to comment.