Merge pull request #28338 from qarmin/disable_project_export_button
Disable Project Export button after deleting preset
This commit is contained in:
commit
bfd2ad0059
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue