Skip to content
Permalink
Browse files
Also update font btn layer in changeLayer
  • Loading branch information
elpaso authored and nyalldawson committed Nov 1, 2021
1 parent 9fb1583 commit bb0718b5867ac7651c50391a75059beb73a582b2
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/layout/qgslayoutattributetablewidget.cpp
@@ -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

0 comments on commit bb0718b

Please sign in to comment.