diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-10 14:09:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 14:09:42 +0200 |
commit | 15f918a111f99441fcbfdfb3caefc3a1daf3dfc5 (patch) | |
tree | 0c41fe9f0bf4aa49cf8a0b7edb75e00c61cffc80 /editor/export | |
parent | 659c1bc72d9aed6d85daee1b78381d629c5f2c7a (diff) | |
parent | 8d81ce9561748b9a231af70323ddffd288e189ab (diff) |
Merge pull request #62925 from aaronfranke/pck-export
Diffstat (limited to 'editor/export')
-rw-r--r-- | editor/export/project_export.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/export/project_export.cpp b/editor/export/project_export.cpp index cb82cefbbb..76493d330f 100644 --- a/editor/export/project_export.cpp +++ b/editor/export/project_export.cpp @@ -219,6 +219,7 @@ void ProjectExportDialog::_edit_preset(int p_index) { export_path->show(); duplicate_preset->set_disabled(false); delete_preset->set_disabled(false); + get_ok_button()->set_disabled(false); name->set_text(current->get_name()); 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_button->set_disabled(true); - get_ok_button()->set_disabled(true); } else { if (error != String()) { Vector<String> items = error.split("\n", false); @@ -285,7 +285,6 @@ void ProjectExportDialog::_edit_preset(int p_index) { export_error->hide(); export_templates_error->hide(); export_button->set_disabled(false); - get_ok_button()->set_disabled(false); } custom_features->set_text(current->get_custom_features()); |