Editor: Fix same-name (sub)groups interfering in Inspector

Clear (sub)group hashmaps when changing category.

(cherry picked from commit 9b7dcfa0e2)
This commit is contained in:
Danil Alexeev 2024-03-18 09:49:21 +03:00 committed by Rémi Verschelde
parent bfdced3a1c
commit 8aff153ea2
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 3 additions and 0 deletions

View File

@ -2774,6 +2774,9 @@ void EditorInspector::update_tree() {
subgroup_base = "";
section_depth = 0;
vbox_per_path.clear();
editor_inspector_array_per_prefix.clear();
if (!show_categories) {
continue;
}