Skip to content

Commit

Permalink
[layouts] Always update label after text changes
Browse files Browse the repository at this point in the history
Fixes label shows old text when opacity settings are changed

Fixes #40203
  • Loading branch information
nyalldawson committed Jan 20, 2021
1 parent 221c3a8 commit 5d14c61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/layout/qgslayoutitemlabel.cpp
Expand Up @@ -198,6 +198,7 @@ void QgsLayoutItemLabel::contentChanged()
break;
}
case ModeFont:
invalidateCache();
break;
}
}
Expand Down

0 comments on commit 5d14c61

Please sign in to comment.