Browse Source

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.
Poommetee Ketson 8 years ago
parent
commit
7b1e15b88c
1 changed files with 1 additions and 2 deletions
  1. 1 2
      editor/editor_node.cpp

+ 1 - 2
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;
 			}