mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-23 01:27:17 +01:00
Allow exporting PCK files without export templates installed
(cherry picked from commit 8d81ce9561748b9a231af70323ddffd288e189ab)
This commit is contained in:
parent
9dc3c9025e
commit
a7d1445c9c
@ -238,6 +238,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()->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);
|
||||||
@ -283,8 +284,6 @@ void ProjectExportDialog::_edit_preset(int p_index) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export_button->set_disabled(true);
|
export_button->set_disabled(true);
|
||||||
get_ok()->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);
|
||||||
@ -303,7 +302,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()->set_disabled(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
custom_features->set_text(current->get_custom_features());
|
custom_features->set_text(current->get_custom_features());
|
||||||
|
Loading…
Reference in New Issue
Block a user