Skip to content

Commit

Permalink
Table layout item: set source layer in font tool btn
Browse files Browse the repository at this point in the history
Fixes #45098
  • Loading branch information
elpaso authored and github-actions[bot] committed Sep 29, 2021
1 parent 7824b3d commit 0f73991
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 0f73991

Please sign in to comment.