EditorNode: request_attn when behind other windows

The current version requests attention only when minimized
which might not work as expected when it's not minimized
but doesn't have focus.
This commit is contained in:
Poommetee Ketson 2017-07-23 14:36:38 +07:00
parent aa798ebf8f
commit 7b1e15b88c

View file

@ -2521,8 +2521,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
}
}
if (OS::get_singleton()->is_window_minimized())
OS::get_singleton()->request_attention();
OS::get_singleton()->request_attention();
break;
}