summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRindbee <idleman@yeah.net>2022-04-19 08:31:57 +0800
committerRindbee <idleman@yeah.net>2022-04-19 09:08:56 +0800
commitd97236bfca1925607bc4c846698d47419f055d5e (patch)
tree97a0dc058f53fbfa4031ef79e10e14b26a0f095c /editor
parent690fefe43ee74c0ae3ed5642f3aefbeb711f9d1c (diff)
Fixes incorrect display of property labels with feature tags
Closes #60352
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_inspector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp
index d5085942c3..30f3748fa4 100644
--- a/editor/editor_inspector.cpp
+++ b/editor/editor_inspector.cpp
@@ -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);
}
}