Merge pull request #27596 from mo7sener/master

Fix: RichTextLabel Crash - meta_hover_ended
This commit is contained in:
Rémi Verschelde 2019-04-04 17:27:34 +02:00 committed by GitHub
commit 3a7a1cd4c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}
}