Handle NOTIFICATION_WM_CLOSE_REQUEST in EditorSpinSlider

This commit is contained in:
Markus Sauermann 2022-03-16 01:18:01 +01:00
parent cfd21adf64
commit d3af794295
1 changed files with 1 additions and 0 deletions

View File

@ -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();