Disable Project Export button after deleting preset

(cherry picked from commit 2fc2d82465)
This commit is contained in:
qarmin 2019-04-23 17:49:15 +02:00 committed by Rémi Verschelde
parent 693f3c9d62
commit 49bbec08e2
1 changed files with 1 additions and 0 deletions

View File

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