Fixes incorrect display of property labels with feature tags

Closes #60352
This commit is contained in:
Rindbee 2022-04-19 08:31:57 +08:00
parent 690fefe43e
commit d97236bfca

View file

@ -2682,7 +2682,7 @@ void EditorInspector::update_tree() {
{
const int dot = name_override.find(".");
if (dot != -1) {
feature_tag = name_override.right(dot);
feature_tag = name_override.substr(dot);
name_override = name_override.substr(0, dot);
}
}