mirror of
https://github.com/godotengine/godot.git
synced 2024-11-26 14:13:10 +00:00
Merge pull request #11000 from Kibouo/iss10842
Fixes the deletion of an export preset's name when deleting the preset above it.
This commit is contained in:
commit
98a36c67f4
@ -425,9 +425,10 @@ void ProjectExportDialog::_delete_preset_confirm() {
|
||||
|
||||
int idx = presets->get_current();
|
||||
parameters->edit(NULL); //to avoid crash
|
||||
_edit_preset(-1);
|
||||
EditorExport::get_singleton()->remove_export_preset(idx);
|
||||
_update_presets();
|
||||
_edit_preset(-1);
|
||||
_edit_preset(presets->get_current());
|
||||
}
|
||||
|
||||
Variant ProjectExportDialog::get_drag_data_fw(const Point2 &p_point, Control *p_from) {
|
||||
|
Loading…
Reference in New Issue
Block a user