From bd9a0a32361552ec0aa2e4f19b8041aeb85d4b42 Mon Sep 17 00:00:00 2001 From: Tomasz Chabora Date: Wed, 14 Aug 2019 13:09:04 +0200 Subject: [PATCH] Fix Project Manager not remembering sorting option --- editor/project_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index b939bae5be8..46d125e7359 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -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(); } }