Merge pull request #5755 from TheHX/issue-5716
Fix empty reference pages after restarting Godot
This commit is contained in:
commit
7b28976af5
@ -662,7 +662,9 @@ void RichTextLabel::_notification(int p_what) {
|
|||||||
} break;
|
} break;
|
||||||
case NOTIFICATION_ENTER_TREE: {
|
case NOTIFICATION_ENTER_TREE: {
|
||||||
|
|
||||||
set_bbcode(bbcode);
|
if (bbcode != "")
|
||||||
|
set_bbcode(bbcode);
|
||||||
|
|
||||||
main->first_invalid_line=0; //invalidate ALL
|
main->first_invalid_line=0; //invalidate ALL
|
||||||
update();
|
update();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user