Skip to content

Commit

Permalink
PG source select align table comment top
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Oct 22, 2019
1 parent 6d322c5 commit 23f1ca6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified resources/data/world_map.gpkg
Binary file not shown.
1 change: 1 addition & 0 deletions src/providers/postgres/qgspgtablemodel.cpp
Expand Up @@ -102,6 +102,7 @@ void QgsPgTableModel::addTableEntry( const QgsPostgresLayerProperty &layerProper
if ( ! layerProperty.tableComment.isEmpty() )
{
commentItem->setToolTip( layerProperty.tableComment );
commentItem->setTextAlignment( Qt::AlignTop );
}
QStandardItem *geomItem = new QStandardItem( layerProperty.geometryColName );
QStandardItem *sridItem = new QStandardItem( wkbType != QgsWkbTypes::NoGeometry ? QString::number( srid ) : QString() );
Expand Down

0 comments on commit 23f1ca6

Please sign in to comment.