From d40b7e2cfb9c6d8fa1298c845175a9932df8df46 Mon Sep 17 00:00:00 2001 From: Jihyun Yu Date: Tue, 17 Aug 2021 14:07:53 +0900 Subject: fix bug on window notification propagation --- scene/main/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/main') diff --git a/scene/main/window.cpp b/scene/main/window.cpp index 6995c77b8e..73eec73d75 100644 --- a/scene/main/window.cpp +++ b/scene/main/window.cpp @@ -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(child); if (window) { - break; + continue; } _propagate_window_notification(child, p_notification); } -- cgit v1.2.3