Unverified Commit 40670288 by Rémi Verschelde Committed by GitHub

Merge pull request #32729 from Calinou/inspector-remove-string-conversion

Remove redundant `camelcase_to_underscore()` call in EditorInspector
parents fc281dce 8c79b4f5
......@@ -1566,11 +1566,11 @@ void EditorInspector::update_tree() {
if (dot != -1) {
String ov = name.right(dot);
name = name.substr(0, dot);
name = name.camelcase_to_underscore().capitalize();
name = name.capitalize();
name += ov;
} else {
name = name.camelcase_to_underscore().capitalize();
name = name.capitalize();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment