From f4db382c500e39a0cb59989a091a45d20af97ca2 Mon Sep 17 00:00:00 2001 From: Will Nations Date: Sun, 1 Jul 2018 00:15:27 -0500 Subject: [PATCH] Fix underline_meta not working in RichTextLabel (cherry picked from commit a9ea06e73a9979210491ed88a57834e51bace1b9) --- scene/gui/rich_text_label.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index e20537225d9..39e128cea12 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -272,7 +272,7 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int & if (p_mode == PROCESS_DRAW) { color = _find_color(text, p_base_color); underline = _find_underline(text); - if (_find_meta(text, &meta)) { + if (_find_meta(text, &meta) && underline_meta) { underline = true; }