Run project after selecting main scene. Fixes #9077

(cherry picked from commit 1ab0a779d8)
This commit is contained in:
Nuno Donato 2017-06-07 23:31:53 +01:00 committed by Rémi Verschelde
parent ef2a962bad
commit 575ee17779
1 changed files with 1 additions and 0 deletions

View File

@ -1138,6 +1138,7 @@ void EditorNode::_dialog_action(String p_file) {
Globals::get_singleton()->set_persisting("application/main_scene", true);
Globals::get_singleton()->save();
//would be nice to show the project manager opened with the highlighted field..
_run(false, ""); // automatically run the project
} break;
case FILE_SAVE_OPTIMIZED: {