diff options
author | Franklin Sobrinho <franklin_gs@hotmail.com> | 2016-07-17 13:21:44 -0300 |
---|---|---|
committer | Franklin Sobrinho <franklin_gs@hotmail.com> | 2016-07-17 13:29:50 -0300 |
commit | 18f165b494b7a4b314c0885d596131bcd2cf9287 (patch) | |
tree | cb60b7d45a5e2dee39f4ecd2721de417ca3152d6 /scene/gui | |
parent | 4c4ab140b4569f2700517a13b20127eb7542b3ec (diff) |
Fix empty reference pages after restarting Godot
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/rich_text_label.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index b4fa463cde..73a3cda5f3 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -662,7 +662,9 @@ void RichTextLabel::_notification(int p_what) { } break; case NOTIFICATION_ENTER_TREE: { - set_bbcode(bbcode); + if (bbcode != "") + set_bbcode(bbcode); + main->first_invalid_line=0; //invalidate ALL update(); |