Merge pull request #56566 from mortarroad/master-fix-import-dock-multiple

Fix the importer dock being blank when selecting multiple files.
This commit is contained in:
Rémi Verschelde 2022-01-06 20:16:09 +01:00 committed by GitHub
commit 0450f269f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -297,6 +297,8 @@ void ImportDock::set_edit_multiple_paths(const Vector<String> &p_paths) {
_set_dirty(false); _set_dirty(false);
import_as->set_disabled(false); import_as->set_disabled(false);
preset->set_disabled(false); preset->set_disabled(false);
content->show();
select_a_resource->hide();
imported->set_text(vformat(TTR("%d Files"), p_paths.size())); imported->set_text(vformat(TTR("%d Files"), p_paths.size()));