diff options
author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-03-16 01:18:01 +0100 |
---|---|---|
committer | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-03-16 08:53:13 +0100 |
commit | d3af794295fc65e94e202a941b67939867c3b549 (patch) | |
tree | d79b9e52bb63f6ffff5eafe8fa9113cfd18f9044 | |
parent | cfd21adf64087c750dde89191bcfcf4d166adc85 (diff) |
Handle NOTIFICATION_WM_CLOSE_REQUEST in EditorSpinSlider
-rw-r--r-- | editor/editor_spin_slider.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_spin_slider.cpp b/editor/editor_spin_slider.cpp index ef34f13d45..2fd4f3d6e6 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(); |