From d3af794295fc65e94e202a941b67939867c3b549 Mon Sep 17 00:00:00 2001 From: Markus Sauermann <6299227+Sauermann@users.noreply.github.com> Date: Wed, 16 Mar 2022 01:18:01 +0100 Subject: [PATCH] Handle NOTIFICATION_WM_CLOSE_REQUEST in EditorSpinSlider --- editor/editor_spin_slider.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/editor_spin_slider.cpp b/editor/editor_spin_slider.cpp index ef34f13d459..2fd4f3d6e6b 100644 --- a/editor/editor_spin_slider.cpp +++ b/editor/editor_spin_slider.cpp @@ -443,6 +443,7 @@ void EditorSpinSlider::_notification(int p_what) { case NOTIFICATION_WM_WINDOW_FOCUS_IN: case NOTIFICATION_WM_WINDOW_FOCUS_OUT: + case NOTIFICATION_WM_CLOSE_REQUEST: case NOTIFICATION_EXIT_TREE: { if (grabbing_spinner) { grabber->hide();