Skip to content

Commit

Permalink
Merge pull request godotengine#46999 from bruvzg/mac_new_wnd
Browse files Browse the repository at this point in the history
[macOS] Fix "New Window" opening copy of current project instead of Project Manager.
  • Loading branch information
akien-mga authored Mar 14, 2021
2 parents 6a9e7c5 + 7273e0b commit 48708b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/editor_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 48708b8

Please sign in to comment.