diff options
| author | Rémi Verschelde | 2017-05-02 11:25:25 +0200 |
|---|---|---|
| committer | GitHub | 2017-05-02 11:25:25 +0200 |
| commit | dd5fd4fdacf0504ff26c773f29ae7a5aa419d88b (patch) | |
| tree | a3af7724350d20bd4fe62d2b4a85b641018a41d0 /editor/editor_node.cpp | |
| parent | fb8cee9af9a649d0458e65a02839f5a51a16cc79 (diff) | |
| parent | 9a0e08a35263ede46f7cacf9290ba1407f4eb733 (diff) | |
| download | godot-dd5fd4fdacf0504ff26c773f29ae7a5aa419d88b.tar.gz godot-dd5fd4fdacf0504ff26c773f29ae7a5aa419d88b.tar.zst godot-dd5fd4fdacf0504ff26c773f29ae7a5aa419d88b.zip | |
Merge pull request #8542 from RandomShaper/opt-out-capitalization-2.1
Add setting to opt-out of capitalization in property inspectors (2.1)
Diffstat (limited to 'editor/editor_node.cpp')
| -rw-r--r-- | editor/editor_node.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index ec1c4a499..1dccf7065 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -404,6 +404,7 @@ void EditorNode::_notification(int p_what) { if (p_what == EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED) { scene_tabs->set_tab_close_display_policy((bool(EDITOR_DEF("global/always_show_close_button_in_scene_tabs", false)) ? Tabs::CLOSE_BUTTON_SHOW_ALWAYS : Tabs::CLOSE_BUTTON_SHOW_ACTIVE_ONLY)); + property_editor->set_enable_capitalize_paths(bool(EDITOR_DEF("inspector/capitalize_properties", true))); } } @@ -5877,6 +5878,7 @@ EditorNode::EditorNode() { property_editor->set_show_categories(true); property_editor->set_v_size_flags(Control::SIZE_EXPAND_FILL); property_editor->set_use_doc_hints(true); + property_editor->set_enable_capitalize_paths(bool(EDITOR_DEF("inspector/capitalize_properties", true))); property_editor->hide_top_label(); property_editor->register_text_enter(search_box); |
