Port ImportDock and ProjectExport to new property editor (2nd try)

Thanks to @ibrahn for helping debug the crashes caused in ProjectExportDialog
by the stray `update_tree()` call, no longer needed in the new inspector.
This commit is contained in:
Rémi Verschelde
2018-08-18 15:07:23 +02:00
parent 30bfe5c942
commit e7c5aca040
4 changed files with 18 additions and 21 deletions

View File

@ -420,10 +420,9 @@ ImportDock::ImportDock() {
preset->get_popup()->connect("index_pressed", this, "_preset_selected");
hb->add_child(preset);
import_opts = memnew(PropertyEditor);
import_opts = memnew(EditorInspector);
add_child(import_opts);
import_opts->set_v_size_flags(SIZE_EXPAND_FILL);
import_opts->hide_top_label();
hb = memnew(HBoxContainer);
add_child(hb);