Merge pull request #51781 from yjh0502/fix-window-notification
Fix bug on window notification propagation
This commit is contained in:
commit
6c3d3f497c
|
@ -300,7 +300,7 @@ void Window::_propagate_window_notification(Node *p_node, int p_notification) {
|
||||||
Node *child = p_node->get_child(i);
|
Node *child = p_node->get_child(i);
|
||||||
Window *window = Object::cast_to<Window>(child);
|
Window *window = Object::cast_to<Window>(child);
|
||||||
if (window) {
|
if (window) {
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
_propagate_window_notification(child, p_notification);
|
_propagate_window_notification(child, p_notification);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue