From 39e5c510fcc68a754f3c8e60170da806d0e6be84 Mon Sep 17 00:00:00 2001 From: Tomasz Chabora Date: Tue, 18 Jun 2019 01:37:06 +0200 Subject: Properly sort projects by name --- editor/project_manager.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'editor/project_manager.h') diff --git a/editor/project_manager.h b/editor/project_manager.h index a7cc6549f5..d75d7164cc 100644 --- a/editor/project_manager.h +++ b/editor/project_manager.h @@ -131,17 +131,19 @@ class ProjectListFilter : public HBoxContainer { GDCLASS(ProjectListFilter, HBoxContainer); +public: + enum FilterOption { + FILTER_NAME, + FILTER_PATH, + FILTER_MODIFIED, + }; + private: friend class ProjectManager; OptionButton *filter_option; LineEdit *search_box; bool has_search_box; - - enum FilterOption { - FILTER_NAME, - FILTER_PATH, - }; FilterOption _current_filter; void _search_text_changed(const String &p_newtext); -- cgit v1.2.3