From c123a8c4f503dc40aa4a5b10c9e8224cd58ff112 Mon Sep 17 00:00:00 2001 From: Cameron Reikes Date: Thu, 1 Aug 2019 19:50:14 -0700 Subject: [PATCH] Same method when redrawing as when theme changed --- scene/gui/rich_text_label.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index d6c0981ebce..8223ea6d1eb 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: {