mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
Handle NOTIFICATION_WM_CLOSE_REQUEST in EditorSpinSlider
This commit is contained in:
parent
cfd21adf64
commit
d3af794295
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user