Merge pull request #62925 from aaronfranke/pck-export
This commit is contained in:
commit
15f918a111
|
@ -219,6 +219,7 @@ void ProjectExportDialog::_edit_preset(int p_index) {
|
||||||
export_path->show();
|
export_path->show();
|
||||||
duplicate_preset->set_disabled(false);
|
duplicate_preset->set_disabled(false);
|
||||||
delete_preset->set_disabled(false);
|
delete_preset->set_disabled(false);
|
||||||
|
get_ok_button()->set_disabled(false);
|
||||||
name->set_text(current->get_name());
|
name->set_text(current->get_name());
|
||||||
|
|
||||||
List<String> extension_list = current->get_platform()->get_binary_extensions(current);
|
List<String> extension_list = current->get_platform()->get_binary_extensions(current);
|
||||||
|
@ -265,7 +266,6 @@ void ProjectExportDialog::_edit_preset(int p_index) {
|
||||||
|
|
||||||
export_warning->hide();
|
export_warning->hide();
|
||||||
export_button->set_disabled(true);
|
export_button->set_disabled(true);
|
||||||
get_ok_button()->set_disabled(true);
|
|
||||||
} else {
|
} else {
|
||||||
if (error != String()) {
|
if (error != String()) {
|
||||||
Vector<String> items = error.split("\n", false);
|
Vector<String> items = error.split("\n", false);
|
||||||
|
@ -285,7 +285,6 @@ void ProjectExportDialog::_edit_preset(int p_index) {
|
||||||
export_error->hide();
|
export_error->hide();
|
||||||
export_templates_error->hide();
|
export_templates_error->hide();
|
||||||
export_button->set_disabled(false);
|
export_button->set_disabled(false);
|
||||||
get_ok_button()->set_disabled(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
custom_features->set_text(current->get_custom_features());
|
custom_features->set_text(current->get_custom_features());
|
||||||
|
|
Loading…
Reference in New Issue