summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-04-04 17:27:34 +0200
committerGitHub <noreply@github.com>2019-04-04 17:27:34 +0200
commit3a7a1cd4c9e61ad16beeff60d54a32247c97423e (patch)
treeb887776f60a05ed494493ebda930f5e14d5bc5f0 /scene/gui
parenta18989602b00f2940befa0b780af14efc7603dd8 (diff)
parent84dfb3ff2d9b3725acd7ed0755b17158ba30faba (diff)
Merge pull request #27596 from mo7sener/master
Fix: RichTextLabel Crash - meta_hover_ended
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 8968923b2c..00d6ac3b94 100644
--- a/scene/gui/rich_text_label.cpp
+++ b/scene/gui/rich_text_label.cpp
@@ -1136,8 +1136,8 @@ void RichTextLabel::_gui_input(Ref<InputEvent> p_event) {
emit_signal("meta_hover_started", meta);
}
} else if (meta_hovering) {
- emit_signal("meta_hover_ended", current_meta);
meta_hovering = NULL;
+ emit_signal("meta_hover_ended", current_meta);
current_meta = false;
}
}