Port ImportDock and ProjectExport to new property editor

This commit is contained in:
Rémi Verschelde
2018-08-18 15:07:23 +02:00
parent c93888ae71
commit 0a3d874efd
4 changed files with 18 additions and 19 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);