Run project after selecting main scene. Fixes #9077
(cherry picked from commit 1ab0a779d8
)
This commit is contained in:
parent
ef2a962bad
commit
575ee17779
|
@ -1138,6 +1138,7 @@ void EditorNode::_dialog_action(String p_file) {
|
||||||
Globals::get_singleton()->set_persisting("application/main_scene", true);
|
Globals::get_singleton()->set_persisting("application/main_scene", true);
|
||||||
Globals::get_singleton()->save();
|
Globals::get_singleton()->save();
|
||||||
//would be nice to show the project manager opened with the highlighted field..
|
//would be nice to show the project manager opened with the highlighted field..
|
||||||
|
_run(false, ""); // automatically run the project
|
||||||
} break;
|
} break;
|
||||||
case FILE_SAVE_OPTIMIZED: {
|
case FILE_SAVE_OPTIMIZED: {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue