From 1ab0a779d83a7af9092dc886e82110db1c386dac Mon Sep 17 00:00:00 2001 From: Nuno Donato Date: Wed, 7 Jun 2017 23:31:53 +0100 Subject: Run project after selecting main scene. Fixes #9077 --- editor/editor_node.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'editor') diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index d139cd0d66..0ba6003bee 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -1085,6 +1085,7 @@ void EditorNode::_dialog_action(String p_file) { GlobalConfig::get_singleton()->set("application/main_scene", p_file); GlobalConfig::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: { -- cgit v1.2.3