Skip to content
Permalink
Browse files
Table layout item: set source layer in font tool btn
Fixes #45098
  • Loading branch information
elpaso authored and nyalldawson committed Nov 1, 2021
1 parent d54f30e commit 9fb1583068f09e69414f133675ade440ccf01d7b
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/layout/qgslayoutattributetablewidget.cpp
@@ -74,7 +74,9 @@ QgsLayoutAttributeTableWidget::QgsLayoutAttributeTableWidget( QgsLayoutFrame *fr
mHeaderFontToolButton->setMode( QgsFontButton::ModeTextRenderer );

mContentFontToolButton->registerExpressionContextGenerator( this );
mContentFontToolButton->setLayer( mTable->sourceLayer() );
mHeaderFontToolButton->registerExpressionContextGenerator( this );
mHeaderFontToolButton->setLayer( mTable->sourceLayer() );

blockAllSignals( true );

0 comments on commit 9fb1583

Please sign in to comment.