Skip to content

Commit

Permalink
Also update font btn layer in changeLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and github-actions[bot] committed Sep 29, 2021
1 parent 0f73991 commit 3d981b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/layout/qgslayoutattributetablewidget.cpp
Expand Up @@ -800,6 +800,9 @@ void QgsLayoutAttributeTableWidget::changeLayer( QgsMapLayer *layer )
mTable->update();
mTable->endCommand();

mContentFontToolButton->setLayer( vl );
mHeaderFontToolButton->setLayer( vl );

if ( vl->geometryType() == QgsWkbTypes::NullGeometry )
{
//layer has no geometry, so uncheck & disable controls which require geometry
Expand Down

0 comments on commit 3d981b3

Please sign in to comment.