aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/dialogs.cpp
diff options
context:
space:
mode:
authorThaer Razeq2017-02-23 02:28:09 -0600
committerREBELLIOUSX\Rebel_X2017-02-28 07:52:02 -0600
commitf50488a36188d5975bfa8554687a1acdd394d6a9 (patch)
tree3b8712b9162aeb30e8eaaeeca63e6d04c7b9e3b5 /scene/gui/dialogs.cpp
parent0f8c6dd3822c38b8145f08265abb9eba479f4d15 (diff)
downloadgodot-f50488a36188d5975bfa8554687a1acdd394d6a9.tar.gz
godot-f50488a36188d5975bfa8554687a1acdd394d6a9.tar.zst
godot-f50488a36188d5975bfa8554687a1acdd394d6a9.zip
Diffstat (limited to 'scene/gui/dialogs.cpp')
-rw-r--r--scene/gui/dialogs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/dialogs.cpp b/scene/gui/dialogs.cpp
index 72d3f0e8f..e08d933e0 100644
--- a/scene/gui/dialogs.cpp
+++ b/scene/gui/dialogs.cpp
@@ -201,7 +201,7 @@ void AcceptDialog::_notification(int p_what) {
if (p_what==NOTIFICATION_MODAL_CLOSE) {
cancel_pressed();
- } if (p_what==NOTIFICATION_RESIZED) {
+ } else if (p_what==NOTIFICATION_RESIZED) {
_update_child_rects();
}