Handle NOTIFICATION_WM_CLOSE_REQUEST in EditorSpinSlider
This commit is contained in:
parent
cfd21adf64
commit
d3af794295
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue