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

(cherry picked from commit 5d14c61)
  • Loading branch information
nyalldawson committed Feb 19, 2021
1 parent 6c095d2 commit cb97971
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 cb97971

Please sign in to comment.