From 84dfb3ff2d9b3725acd7ed0755b17158ba30faba Mon Sep 17 00:00:00 2001 From: Robear Selwans Date: Tue, 2 Apr 2019 13:59:38 +0200 Subject: Fixed an issue where changing the default_cursor on the RichTextLabel's meta_hover_ended caused the entire project to crash --- scene/gui/rich_text_label.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/gui') 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 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; } } -- cgit v1.2.3