Explorar el Código

Handle NOTIFICATION_WM_CLOSE_REQUEST in EditorSpinSlider

Markus Sauermann hace 3 años
padre
commit
d3af794295
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      editor/editor_spin_slider.cpp

+ 1 - 0
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();