diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2017-11-29 09:07:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-29 09:07:36 +0100 |
| commit | aac4cde229f9d4dc1fbc35955cf934a749cb9d95 (patch) | |
| tree | 196307aa844f2587ce6bcd536f8f5589e8638455 /editor/editor_node.cpp | |
| parent | 0f55d3767d03e81e6105185ffae0fae7260cd1e8 (diff) | |
| parent | 45c5a865c22a590913cf7e3ede2d53c85ab69116 (diff) | |
| download | redot-engine-aac4cde229f9d4dc1fbc35955cf934a749cb9d95.tar.gz | |
Merge pull request #13367 from Krakean/inspector_collapseexpand_corrections
Small corrections to Inspector collapse/expand feature
Diffstat (limited to 'editor/editor_node.cpp')
| -rw-r--r-- | editor/editor_node.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index b5c7187b81..fbf6c86c35 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -1475,7 +1475,6 @@ void EditorNode::_edit_current() { object_menu->set_disabled(true); bool capitalize = bool(EDITOR_DEF("interface/editor/capitalize_properties", true)); - bool expandall = bool(EDITOR_DEF("interface/editor/expand_all_properties", true)); bool is_resource = current_obj->is_class("Resource"); bool is_node = current_obj->is_class("Node"); resource_save_button->set_disabled(!is_resource); @@ -1547,10 +1546,6 @@ void EditorNode::_edit_current() { property_editor->set_enable_capitalize_paths(capitalize); } - if (property_editor->is_expand_all_properties_enabled() != expandall) { - property_editor->set_use_folding(expandall == false); - } - /* Take care of PLUGIN EDITOR */ EditorPlugin *main_plugin = editor_data.get_editor(current_obj); |
