mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-04 02:23:33 +00:00
Export: Properly reload preset when opening dialog
Fixes #20119 where newly installed templates were not detected. Also fix a bug with preset deletion where it would attempt to edit an already removed preset. For this I made it so that ItemList::deselect_all() also resets `current` to -1, as a manual ItemList::deselect(idx) already does.
This commit is contained in:
@@ -1856,10 +1856,6 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
|
||||
|
||||
} break;
|
||||
|
||||
case SETTINGS_EXPORT_PREFERENCES: {
|
||||
|
||||
//project_export_settings->popup_centered_ratio();
|
||||
} break;
|
||||
case FILE_IMPORT_SUBSCENE: {
|
||||
|
||||
if (!editor_data.get_edited_scene_root()) {
|
||||
|
||||
Reference in New Issue
Block a user