1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Merge pull request #56255 from PucklaMotzer09/control_unfocus

This commit is contained in:
Rémi Verschelde
2022-01-05 10:59:39 +01:00
committed by GitHub

View File

@@ -589,6 +589,7 @@ void Control::_notification(int p_notification) {
_size_changed();
} break;
case NOTIFICATION_EXIT_TREE: {
release_focus();
get_viewport()->_gui_remove_control(this);
} break;
case NOTIFICATION_READY: {