From a1142225bf513e4afe0527ca604486d3988449cc Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Tue, 15 Dec 2015 23:39:36 -0300 Subject: -split view of property editor and editor settings --- tools/editor/settings_config_dialog.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tools/editor/settings_config_dialog.cpp') diff --git a/tools/editor/settings_config_dialog.cpp b/tools/editor/settings_config_dialog.cpp index 6d8f849427..d3c9e39cbb 100644 --- a/tools/editor/settings_config_dialog.cpp +++ b/tools/editor/settings_config_dialog.cpp @@ -71,7 +71,7 @@ void EditorSettingsDialog::popup_edit_settings() { return; property_editor->edit(EditorSettings::get_singleton()); - property_editor->update_tree(); + property_editor->get_property_editor()->update_tree(); search_box->select_all(); search_box->grab_focus(); @@ -254,7 +254,7 @@ void EditorSettingsDialog::_clear_search_box() { return; search_box->clear(); - property_editor->update_tree(); + property_editor->get_property_editor()->update_tree(); } void EditorSettingsDialog::_notification(int p_what) { @@ -306,10 +306,10 @@ EditorSettingsDialog::EditorSettingsDialog() { hbc->add_child(clear_button); clear_button->connect("pressed",this,"_clear_search_box"); - property_editor = memnew( PropertyEditor ); - property_editor->hide_top_label(); - property_editor->set_use_filter(true); - property_editor->register_text_enter(search_box); + property_editor = memnew( SectionedPropertyEditor ); + //property_editor->hide_top_label(); + property_editor->get_property_editor()->set_use_filter(true); + property_editor->get_property_editor()->register_text_enter(search_box); property_editor->set_v_size_flags(Control::SIZE_EXPAND_FILL); vbc->add_child(property_editor); -- cgit v1.2.3