Merge pull request #5755 from TheHX/issue-5716

Fix empty reference pages after restarting Godot
This commit is contained in:
Rémi Verschelde 2016-07-17 19:06:03 +02:00 committed by GitHub
commit 7b28976af5

View File

@ -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();