summaryrefslogtreecommitdiff
path: root/scene/gui/rich_text_label.cpp
diff options
context:
space:
mode:
authorCameron Reikes <cameronreikes@gmail.com>2019-08-01 19:50:14 -0700
committerCameron Reikes <cameronreikes@gmail.com>2019-08-01 19:50:14 -0700
commitc123a8c4f503dc40aa4a5b10c9e8224cd58ff112 (patch)
tree0eb1fb1e3f4fc9de570e14eaf5c86e55b647f150 /scene/gui/rich_text_label.cpp
parent77e894768798c6d6b02759edf5774fb0cd09ac04 (diff)
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: {