Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 9fb1583
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/layout/qgslayoutattributetablewidget.cpp
Expand Up @@ -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 );

Expand Down

0 comments on commit 9fb1583

Please sign in to comment.