diff options
author | RedMser <redmser.jj2@gmail.com> | 2022-11-29 02:42:19 +0100 |
---|---|---|
committer | RedMser <redmser.jj2@gmail.com> | 2023-03-27 08:10:35 +0200 |
commit | ed960453b721e62e8e2c37a4695a78f7b0a862d8 (patch) | |
tree | 1608fce23ae15d7c0011336e741b70db99de2a52 /editor/editor_sectioned_inspector.cpp | |
parent | 9b0bee860f4d53614c218d28c9c32f88cf8b5cff (diff) | |
download | redot-engine-ed960453b721e62e8e2c37a4695a78f7b0a862d8.tar.gz |
Make solving project setting errors easier
Show full project setting path in error messages.
Force filtering for advanced settings if filter is not empty.
Diffstat (limited to 'editor/editor_sectioned_inspector.cpp')
-rw-r--r-- | editor/editor_sectioned_inspector.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/editor_sectioned_inspector.cpp b/editor/editor_sectioned_inspector.cpp index 3988d356b3..8716a75efd 100644 --- a/editor/editor_sectioned_inspector.cpp +++ b/editor/editor_sectioned_inspector.cpp @@ -239,7 +239,8 @@ void SectionedInspector::update_category_list() { for (PropertyInfo &pi : pinfo) { if (pi.usage & PROPERTY_USAGE_CATEGORY) { continue; - } else if (!(pi.usage & PROPERTY_USAGE_EDITOR) || (restrict_to_basic && !(pi.usage & PROPERTY_USAGE_EDITOR_BASIC_SETTING))) { + } else if (!(pi.usage & PROPERTY_USAGE_EDITOR) || + (filter_text.is_empty() && restrict_to_basic && !(pi.usage & PROPERTY_USAGE_EDITOR_BASIC_SETTING))) { continue; } |