mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 22:23:07 +00:00
Fix Project Manager not remembering sorting option
This commit is contained in:
parent
1dae4c9e7f
commit
bd9a0a3236
@ -1312,7 +1312,7 @@ void ProjectList::set_filter_option(ProjectListFilter::FilterOption p_option) {
|
||||
void ProjectList::set_order_option(ProjectListFilter::FilterOption p_option) {
|
||||
if (_order_option != p_option) {
|
||||
_order_option = p_option;
|
||||
EditorSettings::get_singleton()->set("project_manager/sorting_order", (int)_filter_option);
|
||||
EditorSettings::get_singleton()->set("project_manager/sorting_order", (int)_order_option);
|
||||
EditorSettings::get_singleton()->save();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user