diff options
author | Eric M <itsjusteza@gmail.com> | 2021-05-05 00:25:14 +1000 |
---|---|---|
committer | Eric M <itsjusteza@gmail.com> | 2021-05-05 00:25:14 +1000 |
commit | 87ffb213c8cc8dfce28dca1a3887b63a7c67d6ed (patch) | |
tree | ca97a76c7ad9c505d4a0a0576f23e92089bed798 /scene | |
parent | ea9cab3e76b7cb8754b6d64102101f79a253ed8d (diff) |
Fixed issues with Editor Log after recent changes
Fixed #48446, Fixed #48443
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/rich_text_label.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |