Browse Source

Merge pull request #46999 from bruvzg/mac_new_wnd

[macOS] Fix "New Window" opening copy of current project instead of Project Manager.
Rémi Verschelde 4 năm trước cách đây
mục cha
commit
48708b8e3d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      editor/editor_node.cpp

+ 1 - 1
editor/editor_node.cpp

@@ -5338,7 +5338,7 @@ void EditorNode::_global_menu_action(const Variant &p_id, const Variant &p_meta)
 	if (id == GLOBAL_NEW_WINDOW) {
 		if (OS::get_singleton()->get_main_loop()) {
 			List<String> args;
-			args.push_back("-e");
+			args.push_back("-p");
 			String exec = OS::get_singleton()->get_executable_path();
 
 			OS::ProcessID pid = 0;