Browse Source

Run project after selecting main scene. Fixes #9077

(cherry picked from commit 1ab0a779d83a7af9092dc886e82110db1c386dac)
Nuno Donato 8 years ago
parent
commit
575ee17779
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/editor_node.cpp

+ 1 - 0
editor/editor_node.cpp

@@ -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: {