Merge pull request #28338 from qarmin/disable_project_export_button

Disable Project Export button after deleting preset
This commit is contained in:
Rémi Verschelde 2019-04-25 13:30:15 +02:00 committed by GitHub
commit bfd2ad0059
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -631,6 +631,7 @@ void ProjectExportDialog::_delete_preset_confirm() {
int idx = presets->get_current();
_edit_preset(-1);
export_button->set_disabled(true);
EditorExport::get_singleton()->remove_export_preset(idx);
_update_presets();
}