Fixed an issue where changing the default_cursor on the RichTextLabel's meta_hover_ended caused the entire project to crash

This commit is contained in:
Robear Selwans 2019-04-02 13:59:38 +02:00
parent 612a109b81
commit 84dfb3ff2d
1 changed files with 1 additions and 1 deletions

View File

@ -1136,8 +1136,8 @@ void RichTextLabel::_gui_input(Ref<InputEvent> p_event) {
emit_signal("meta_hover_started", meta); emit_signal("meta_hover_started", meta);
} }
} else if (meta_hovering) { } else if (meta_hovering) {
emit_signal("meta_hover_ended", current_meta);
meta_hovering = NULL; meta_hovering = NULL;
emit_signal("meta_hover_ended", current_meta);
current_meta = false; current_meta = false;
} }
} }