summaryrefslogtreecommitdiffstats
path: root/editor/project_settings_editor.cpp
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2022-03-18 01:16:25 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2022-03-18 01:16:25 +0800
commit7bdca99d51ec5a28a67ceeb2e509826191aa6326 (patch)
tree22e9955c40c35fedde79ad098e6af8a047fbab2f /editor/project_settings_editor.cpp
parent5d806b435bdfb6669435f1a28589f847be5ff807 (diff)
downloadredot-engine-7bdca99d51ec5a28a67ceeb2e509826191aa6326.tar.gz
Improve inspector filtering
Diffstat (limited to 'editor/project_settings_editor.cpp')
-rw-r--r--editor/project_settings_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp
index c4019bc22d..98f8aefea0 100644
--- a/editor/project_settings_editor.cpp
+++ b/editor/project_settings_editor.cpp
@@ -617,6 +617,7 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
general_settings_inspector->get_inspector()->set_undo_redo(EditorNode::get_singleton()->get_undo_redo());
general_settings_inspector->set_v_size_flags(Control::SIZE_EXPAND_FILL);
general_settings_inspector->register_search_box(search_box);
+ general_settings_inspector->get_inspector()->set_use_filter(true);
general_settings_inspector->get_inspector()->connect("property_selected", callable_mp(this, &ProjectSettingsEditor::_setting_selected));
general_settings_inspector->get_inspector()->connect("property_edited", callable_mp(this, &ProjectSettingsEditor::_setting_edited));
general_settings_inspector->get_inspector()->connect("restart_requested", callable_mp(this, &ProjectSettingsEditor::_editor_restart_request));