diff options
| author | Rémi Verschelde | 2016-07-19 21:35:14 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-07-19 21:35:14 +0200 |
| commit | 87d0515d0935d0af929feeef15fb704773cc4a12 (patch) | |
| tree | 54763ded6fd87063a04992853d593518428620c5 /tools/editor/editor_node.cpp | |
| parent | 525fb01fd2f3059eef17b9e082bbde86bce50fb4 (diff) | |
| download | godot-87d0515d0935d0af929feeef15fb704773cc4a12.tar.gz godot-87d0515d0935d0af929feeef15fb704773cc4a12.tar.zst godot-87d0515d0935d0af929feeef15fb704773cc4a12.zip | |
Diffstat (limited to 'tools/editor/editor_node.cpp')
| -rw-r--r-- | tools/editor/editor_node.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index dee521beb..d843b6ef6 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -1175,6 +1175,8 @@ void EditorNode::_dialog_action(String p_file) { case SETTINGS_PICK_MAIN_SCENE: { Globals::get_singleton()->set("application/main_scene",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 hilighted field.. } break; case FILE_SAVE_OPTIMIZED: { |
