Merge pull request #56255 from PucklaMotzer09/control_unfocus
This commit is contained in:
commit
c0b3da78ad
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user