summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-08-17 09:48:53 +0200
committerGitHub <noreply@github.com>2021-08-17 09:48:53 +0200
commit6c3d3f497ceb9febf3bf16a8e97454d2f2c7e2f2 (patch)
treea738efe7b7ecc30f896c71c3d901c2973b15c0e5 /scene
parent84b11fbaa674b6e2341de534e93a981378a307ad (diff)
parentd40b7e2cfb9c6d8fa1298c845175a9932df8df46 (diff)
Merge pull request #51781 from yjh0502/fix-window-notification
Fix bug on window notification propagation
Diffstat (limited to 'scene')
-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);
}