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 84dfb3ff2d)
This commit is contained in:
Robear Selwans 2019-04-02 13:59:38 +02:00 committed by Rémi Verschelde
parent aedea36d0c
commit 96222dedb5
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);
}
} else if (meta_hovering) {
emit_signal("meta_hover_ended", current_meta);
meta_hovering = NULL;
emit_signal("meta_hover_ended", current_meta);
current_meta = false;
}
}