summaryrefslogtreecommitdiffstats
path: root/editor/import_dock.cpp
diff options
context:
space:
mode:
authorMorris Tabor <80684659+mortarroad@users.noreply.github.com>2022-01-06 18:32:24 +0100
committerMorris Tabor <80684659+mortarroad@users.noreply.github.com>2022-01-06 18:32:24 +0100
commit542b893436d3dd7bede099ae9d23c3d8e4fbbd63 (patch)
tree82db5799e3e63c4ee24b75d08e62e785864bb8c8 /editor/import_dock.cpp
parentf57bdf13af3e99b0f0235909eecc428d913c9b01 (diff)
downloadredot-engine-542b893436d3dd7bede099ae9d23c3d8e4fbbd63.tar.gz
Fix the importer dock being blank when selecting multiple files.
Broken in cff0a1a896dfd825c4cccf1e3853ad5217261b40
Diffstat (limited to 'editor/import_dock.cpp')
-rw-r--r--editor/import_dock.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/import_dock.cpp b/editor/import_dock.cpp
index ab1be7f41b..10654cfe43 100644
--- a/editor/import_dock.cpp
+++ b/editor/import_dock.cpp
@@ -297,6 +297,8 @@ void ImportDock::set_edit_multiple_paths(const Vector<String> &p_paths) {
_set_dirty(false);
import_as->set_disabled(false);
preset->set_disabled(false);
+ content->show();
+ select_a_resource->hide();
imported->set_text(vformat(TTR("%d Files"), p_paths.size()));