summaryrefslogtreecommitdiff
path: root/scene/gui/rich_text_label.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-08-05 08:05:02 +0200
committerGitHub <noreply@github.com>2019-08-05 08:05:02 +0200
commit818704a4215aab003bdd44834e32f9e1a2ab00d6 (patch)
treeaa232b579e336507b61eaba1be98a981bf8ad07a /scene/gui/rich_text_label.cpp
parent7126654eafc5a50a782bfbcdcfcb243807662eab (diff)
parentc123a8c4f503dc40aa4a5b10c9e8224cd58ff112 (diff)
Merge pull request #31028 from creikey/fix-theme-update-richtextlabl
Same method when redrawing as when theme changed
Diffstat (limited to 'scene/gui/rich_text_label.cpp')
-rw-r--r--scene/gui/rich_text_label.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp
index d6c0981ebc..8223ea6d1e 100644
--- a/scene/gui/rich_text_label.cpp
+++ b/scene/gui/rich_text_label.cpp
@@ -821,11 +821,7 @@ void RichTextLabel::_notification(int p_what) {
} break;
case NOTIFICATION_THEME_CHANGED: {
- if (is_inside_tree() && use_bbcode) {
- parse_bbcode(bbcode);
- //first_invalid_line=0; //invalidate ALL
- //update();
- }
+ update();
} break;
case NOTIFICATION_DRAW: {