From 87ffb213c8cc8dfce28dca1a3887b63a7c67d6ed Mon Sep 17 00:00:00 2001 From: Eric M Date: Wed, 5 May 2021 00:25:14 +1000 Subject: Fixed issues with Editor Log after recent changes Fixed #48446, Fixed #48443 --- scene/gui/rich_text_label.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/gui') diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index 9efc1af23b..e8a908c30e 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -2615,6 +2615,7 @@ void RichTextLabel::pop() { // Creates a new line without adding an ItemNewline to the previous line. // Useful when wanting to calling remove_line and add a new line immediately after. void RichTextLabel::increment_line_count() { + _validate_line_caches(main); current_frame->lines.resize(current_frame->lines.size() + 1); _invalidate_current_line(current_frame); } -- cgit v1.2.3