diff options
author | Yuri Sizov <yuris@humnom.net> | 2023-08-01 20:03:51 +0200 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-08-01 20:03:51 +0200 |
commit | 2d6e98d9c8ca55b80055d8a1517fae3f0c222724 (patch) | |
tree | 4d952939869cbb32ff4bedcae3e9f039fcf8169c | |
parent | e8106711160686219fc878e09289929472898b44 (diff) | |
parent | f7238fb3f4d64e61070c37c250bca433dc79b6d9 (diff) | |
download | redot-engine-2d6e98d9c8ca55b80055d8a1517fae3f0c222724.tar.gz |
Merge pull request #79984 from KoBeWi/reverse_engineering_or_something_idk
Reverse condition for skipping directories
-rw-r--r-- | editor/gui/editor_file_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/gui/editor_file_dialog.cpp b/editor/gui/editor_file_dialog.cpp index a7ddb984e0..72933517d7 100644 --- a/editor/gui/editor_file_dialog.cpp +++ b/editor/gui/editor_file_dialog.cpp @@ -823,7 +823,7 @@ void EditorFileDialog::update_file_list() { } } else if (!dir_access->current_is_hidden()) { String full_path = cdir == "res://" ? item : dir_access->get_current_dir() + "/" + item; - if (dir_access->current_is_dir() && (!EditorFileSystem::_should_skip_directory(full_path) || Engine::get_singleton()->is_project_manager_hint())) { + if (dir_access->current_is_dir() && (Engine::get_singleton()->is_project_manager_hint() || !EditorFileSystem::_should_skip_directory(full_path))) { dirs.push_back(item); } else { files.push_back(item); |