summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-06-08 07:32:31 +0200
committerGitHub <noreply@github.com>2017-06-08 07:32:31 +0200
commit89a7fb35306dea9a9571f8886f5d84ed02dd3875 (patch)
tree3d5e36e08a281a95e590bb523bdc9162920456c8 /editor
parent871ceeb0fe219072ae708d4d4397e8ae66873386 (diff)
parent1ab0a779d83a7af9092dc886e82110db1c386dac (diff)
Merge pull request #9090 from nunodonato/autorun
Run project after selecting main scene. Fixes #9077
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_node.cpp1
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: {