Disable Project Export button after deleting preset
(cherry picked from commit 2fc2d82465
)
This commit is contained in:
parent
693f3c9d62
commit
49bbec08e2
|
@ -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 New Issue