Unfocus Control on NOTIFICATION_EXIT_TREE
This commit is contained in:
parent
28174d531b
commit
be2d59fa0a
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue