summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Felipe <guilhermefelipecgs@gmail.com>2018-02-01 13:54:07 -0200
committerGuilherme Felipe <guilhermefelipecgs@gmail.com>2018-02-01 14:00:59 -0200
commit6e1c02b828f0238c97b87e5a5678152d4c518da1 (patch)
tree7253fcb3b7b79e4d096d116bb09511a20ca94736
parent2459eebc1d0d679efb546aa5a95ddd493290a7aa (diff)
Make parent folder selectable. Fix #16253
-rw-r--r--editor/filesystem_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index 8ead8d3982..9804d1d9a3 100644
--- a/editor/filesystem_dock.cpp
+++ b/editor/filesystem_dock.cpp
@@ -492,7 +492,7 @@ void FileSystemDock::_update_files(bool p_keep_selection) {
Ref<Texture> folderIcon = (use_thumbnails) ? folder_thumbnail : get_icon("folder", "FileDialog");
if (path != "res://") {
- files->add_item("..", folderIcon, false);
+ files->add_item("..", folderIcon, true);
String bd = path.get_base_dir();
if (bd != "res://" && !bd.ends_with("/"))