summaryrefslogtreecommitdiff
path: root/editor/project_manager.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-06-18 20:57:13 +0200
committerGitHub <noreply@github.com>2019-06-18 20:57:13 +0200
commit58fe658f9d9312ff5c1dac727c4754960c0a975f (patch)
tree1202f8762a5039362c28916aee9d8d63b15a64f5 /editor/project_manager.h
parent3345c03122da633affda0e77763fe9829aa75344 (diff)
parent39e5c510fcc68a754f3c8e60170da806d0e6be84 (diff)
Merge pull request #29859 from KoBeWi/name_sort-inator
Properly sort projects by name
Diffstat (limited to 'editor/project_manager.h')
-rw-r--r--editor/project_manager.h12
1 files changed, 7 insertions, 5 deletions
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);