diff options
author | James Castanho <bogunovich.sob@gmail.com> | 2021-03-24 15:47:07 -0500 |
---|---|---|
committer | James Castanho <bogunovich.sob@gmail.com> | 2021-03-24 16:10:41 -0500 |
commit | babaddbdec78519448f66a1bc00dd295c73e699d (patch) | |
tree | 568cb17022209093722de7e248b55ff60df1b8ad | |
parent | 9a64d6b2b2001920affdaedd0fb8c0bc6074b13a (diff) |
edit if statement in FileSystemDock::_select_file()
-rw-r--r-- | editor/filesystem_dock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index 90244ca820..c9ccd5b0fe 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -967,7 +967,7 @@ void FileSystemDock::_select_file(const String &p_path, bool p_select_in_favorit ResourceImporterScene::get_singleton()->get_recognized_extensions(&importer_exts); String extension = fpath.get_extension(); for (List<String>::Element *E = importer_exts.front(); E; E = E->next()) { - if (extension.nocasecmp_to(E->get())) { + if (extension.nocasecmp_to(E->get()) == 0) { is_imported = true; break; } |