浏览代码

[macOS] Fix "New Window" opening copy of current project instead of Project Manager.

bruvzg 4 年之前
父节点
当前提交
7273e0b51b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/editor_node.cpp

+ 1 - 1
editor/editor_node.cpp

@@ -5335,7 +5335,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;