[macOS] Fix "New Window" opening copy of current project instead of Project Manager.
This commit is contained in:
parent
1d0929a992
commit
7273e0b51b
1 changed files with 1 additions and 1 deletions
|
@ -5335,7 +5335,7 @@ void EditorNode::_global_menu_action(const Variant &p_id, const Variant &p_meta)
|
||||||
if (id == GLOBAL_NEW_WINDOW) {
|
if (id == GLOBAL_NEW_WINDOW) {
|
||||||
if (OS::get_singleton()->get_main_loop()) {
|
if (OS::get_singleton()->get_main_loop()) {
|
||||||
List<String> args;
|
List<String> args;
|
||||||
args.push_back("-e");
|
args.push_back("-p");
|
||||||
String exec = OS::get_singleton()->get_executable_path();
|
String exec = OS::get_singleton()->get_executable_path();
|
||||||
|
|
||||||
OS::ProcessID pid = 0;
|
OS::ProcessID pid = 0;
|
||||||
|
|
Loading…
Reference in a new issue