summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-04-07 20:22:09 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-04-07 20:22:09 -0300
commite336306e9176bb3e9e459a63344ef54c1e57c9cd (patch)
tree020db36d856f01442056763596fb84b4035fccb3 /tools
parent219fce737c05405db06cb268520d6abf0386db38 (diff)
parent21eb3b2a83fd59f6d667688c95b4a198b3b6f689 (diff)
Merge pull request #1554 from NateWardawg/inspectorupdate
Camel casing being capitalized only happens in the inspector now.
Diffstat (limited to 'tools')
-rw-r--r--tools/editor/property_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/property_editor.cpp b/tools/editor/property_editor.cpp
index 078a177ca1..3fd713c5b0 100644
--- a/tools/editor/property_editor.cpp
+++ b/tools/editor/property_editor.cpp
@@ -2258,7 +2258,7 @@ void PropertyEditor::update_tree() {
}
if (capitalize_paths)
- item->set_text( 0, name.capitalize() );
+ item->set_text( 0, name.camelcase_to_underscore().capitalize() );
else
item->set_text( 0, name );