diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2017-07-23 14:36:38 +0700 |
---|---|---|
committer | Poommetee Ketson <poommetee@protonmail.com> | 2017-07-23 14:36:38 +0700 |
commit | 7b1e15b88c98094eb38cd052a353606d496b0ace (patch) | |
tree | 1e1efbf74b533d530c342716195be02d3bc54943 | |
parent | aa798ebf8fcc0a72c837c7daea63e6d9ef51ff30 (diff) |
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.
-rw-r--r-- | editor/editor_node.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 990628d6af..14bcf1c070 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -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; } |