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

@ -29,6 +29,7 @@
/*************************************************************************/
#include "project_export.h"
#include "compressed_translation.h"
#include "editor_data.h"
#include "editor_node.h"
@ -842,10 +843,9 @@ ProjectExportDialog::ProjectExportDialog() {
settings_vb->add_child(sections);
sections->set_v_size_flags(SIZE_EXPAND_FILL);
parameters = memnew(PropertyEditor);
parameters = memnew(EditorInspector);
sections->add_child(parameters);
parameters->set_name(TTR("Options"));
parameters->hide_top_label();
parameters->set_v_size_flags(SIZE_EXPAND_FILL);
parameters->connect("property_edited", this, "_update_parameters");