Sfoglia il codice sorgente

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 anni fa
parent
commit
7b1e15b88c
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  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;
 				break;
 			}
 			}