Merge pull request #9090 from nunodonato/autorun
Run project after selecting main scene. Fixes #9077
This commit is contained in:
commit
89a7fb3530
1 changed files with 1 additions and 0 deletions
|
@ -1085,6 +1085,7 @@ void EditorNode::_dialog_action(String p_file) {
|
||||||
GlobalConfig::get_singleton()->set("application/main_scene", p_file);
|
GlobalConfig::get_singleton()->set("application/main_scene", p_file);
|
||||||
GlobalConfig::get_singleton()->save();
|
GlobalConfig::get_singleton()->save();
|
||||||
//would be nice to show the project manager opened with the highlighted field..
|
//would be nice to show the project manager opened with the highlighted field..
|
||||||
|
_run(false, ""); // automatically run the project
|
||||||
} break;
|
} break;
|
||||||
case FILE_SAVE_OPTIMIZED: {
|
case FILE_SAVE_OPTIMIZED: {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue