Update file list in split view when setting main scene

This commit is contained in:
volzhs 2020-01-09 09:51:31 +09:00
parent e7b7dc57fc
commit 9495229315

View file

@ -1589,6 +1589,7 @@ void FileSystemDock::_file_option(int p_option, const Vector<String> &p_selected
ProjectSettings::get_singleton()->set("application/run/main_scene", p_selected[0]); ProjectSettings::get_singleton()->set("application/run/main_scene", p_selected[0]);
ProjectSettings::get_singleton()->save(); ProjectSettings::get_singleton()->save();
_update_tree(_compute_uncollapsed_paths()); _update_tree(_compute_uncollapsed_paths());
_update_file_list(true);
} }
} break; } break;