mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
fix bug on window notification propagation
This commit is contained in:
parent
84b11fbaa6
commit
d40b7e2cfb
@ -300,7 +300,7 @@ void Window::_propagate_window_notification(Node *p_node, int p_notification) {
|
||||
Node *child = p_node->get_child(i);
|
||||
Window *window = Object::cast_to<Window>(child);
|
||||
if (window) {
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
_propagate_window_notification(child, p_notification);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user