summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-04-19 15:47:18 +0200
committerGitHub <noreply@github.com>2022-04-19 15:47:18 +0200
commit1274e54bf92c38ef254eb5df02362d8fb5d1a80e (patch)
tree2b06f9aa73dec82e64f1aad6d7461e7357906f7b
parent1d2177938df078dae7be87665b7caf27c123cd38 (diff)
parentd97236bfca1925607bc4c846698d47419f055d5e (diff)
Merge pull request #60363 from Rindbee/fix-incorrect-property-label-with-feature-tags
-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);
}
}