summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorJihyun Yu <yjh0502@gmail.com>2021-08-17 14:07:53 +0900
committerJihyun Yu <yjh0502@gmail.com>2021-08-17 14:07:53 +0900
commitd40b7e2cfb9c6d8fa1298c845175a9932df8df46 (patch)
treea738efe7b7ecc30f896c71c3d901c2973b15c0e5 /scene/main
parent84b11fbaa674b6e2341de534e93a981378a307ad (diff)
fix bug on window notification propagation
Diffstat (limited to 'scene/main')
-rw-r--r--scene/main/window.cpp2
1 files changed, 1 insertions, 1 deletions
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<Window>(child);
if (window) {
- break;
+ continue;
}
_propagate_window_notification(child, p_notification);
}