diff options
| author | Poommetee Ketson | 2017-07-23 14:36:38 +0700 |
|---|---|---|
| committer | Poommetee Ketson | 2017-07-23 14:36:38 +0700 |
| commit | 7b1e15b88c98094eb38cd052a353606d496b0ace (patch) | |
| tree | 1e1efbf74b533d530c342716195be02d3bc54943 /editor/editor_node.cpp | |
| parent | aa798ebf8fcc0a72c837c7daea63e6d9ef51ff30 (diff) | |
| download | godot-7b1e15b88c98094eb38cd052a353606d496b0ace.tar.gz godot-7b1e15b88c98094eb38cd052a353606d496b0ace.tar.zst godot-7b1e15b88c98094eb38cd052a353606d496b0ace.zip | |
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.
Diffstat (limited to 'editor/editor_node.cpp')
| -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 990628d6a..14bcf1c07 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; } |
