From 96222dedb57e2bb062b3110bcbf1c5206e870c76 Mon Sep 17 00:00:00 2001 From: Robear Selwans Date: Tue, 2 Apr 2019 13:59:38 +0200 Subject: [PATCH] Fixed an issue where changing the default_cursor on the RichTextLabel's meta_hover_ended caused the entire project to crash (cherry picked from commit 84dfb3ff2d9b3725acd7ed0755b17158ba30faba) --- 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 8968923b2ce..00d6ac3b941 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; } }