From 15be90bbf39eb524228521052aca6d8217f56bc9 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 (cherry picked from commit c123a8c4f503dc40aa4a5b10c9e8224cd58ff112) --- 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 1e123ead1bf..be7c7d25d87 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -801,11 +801,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: {