You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-02 16:48:55 +00:00
Don't save editor settings on startup
This commit is contained in:
@@ -1437,10 +1437,12 @@ void ProjectList::add_search_tag(const String &p_tag) {
|
||||
sort_projects();
|
||||
}
|
||||
|
||||
void ProjectList::set_order_option(int p_option) {
|
||||
void ProjectList::set_order_option(int p_option, bool p_save) {
|
||||
FilterOption selected = (FilterOption)p_option;
|
||||
EditorSettings::get_singleton()->set("project_manager/sorting_order", p_option);
|
||||
EditorSettings::get_singleton()->save();
|
||||
if (p_save) {
|
||||
EditorSettings::get_singleton()->set("project_manager/sorting_order", p_option);
|
||||
EditorSettings::get_singleton()->save();
|
||||
}
|
||||
_order_option = selected;
|
||||
|
||||
sort_projects();
|
||||
|
||||
Reference in New Issue
Block a user