summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-08-14 13:44:42 +0200
committerGitHub <noreply@github.com>2019-08-14 13:44:42 +0200
commited5c03528d031045965352d066cbc2bce94f273d (patch)
tree9020e8193a10fa10157f62e95a087b8dbd2805a2
parent1dae4c9e7f547ce5da12ed0d741feb2b26e306bb (diff)
parentbd9a0a32361552ec0aa2e4f19b8041aeb85d4b42 (diff)
Merge pull request #31373 from KoBeWi/project_manager_alzheimer
Fix Project Manager not remembering sorting option
-rw-r--r--editor/project_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp
index b939bae5be..46d125e735 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();
}
}