diff options
author | Nuno Donato <nunodonato@gmail.com> | 2017-06-07 23:31:53 +0100 |
---|---|---|
committer | Nuno Donato <nunodonato@gmail.com> | 2017-06-07 23:31:53 +0100 |
commit | 1ab0a779d83a7af9092dc886e82110db1c386dac (patch) | |
tree | 9a284e181a75396f787cb95f65094a1c8cd3f730 /editor | |
parent | 840ac8c0187b7cfdc13abf9091f2537b34f6552b (diff) |
Run project after selecting main scene. Fixes #9077
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_node.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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: { |