diff options
author | Robear Selwans <robear.selwans@outlook.com> | 2019-04-02 13:59:38 +0200 |
---|---|---|
committer | Robear Selwans <robear.selwans@outlook.com> | 2019-04-02 13:59:38 +0200 |
commit | 84dfb3ff2d9b3725acd7ed0755b17158ba30faba (patch) | |
tree | 473f16d89eb0540a4dc9d12d89784a5e1d736cb9 | |
parent | 612a109b81320fcd2f06e5ddff71925d81aca509 (diff) |
Fixed an issue where changing the default_cursor on the RichTextLabel's meta_hover_ended caused the entire project to crash
-rw-r--r-- | scene/gui/rich_text_label.cpp | 2 |
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; } } |