summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2018-07-01 23:13:46 -0300
committerGitHub <noreply@github.com>2018-07-01 23:13:46 -0300
commitd56d7299e42f1f36c02eb918c1de524448a94afe (patch)
tree9176887065f5dac222aad2c96d14f1ac470f4343 /scene/gui
parentbeebd0b9dee16b618d15bf0f7deffa5a634dd2b1 (diff)
parenta9ea06e73a9979210491ed88a57834e51bace1b9 (diff)
Merge pull request #19875 from willnationsdev/meta-underlined
Fix underline_meta not working in RichTextLabel
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/rich_text_label.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp
index f34559fc8d..ce2e3538da 100644
--- a/scene/gui/rich_text_label.cpp
+++ b/scene/gui/rich_text_label.cpp
@@ -324,7 +324,7 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int &
color = _find_color(text, p_base_color);
font_color_shadow = _find_color(text, p_font_color_shadow);
underline = _find_underline(text);
- if (_find_meta(text, &meta)) {
+ if (_find_meta(text, &meta) && underline_meta) {
underline = true;
}