You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Run project after selecting main scene. Fixes #9077
(cherry picked from commit 1ab0a779d8)
This commit is contained in:
committed by
Rémi Verschelde
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: {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user