edit if statement in FileSystemDock::_select_file()

This commit is contained in:
James Castanho 2021-03-24 15:47:07 -05:00
parent 9a64d6b2b2
commit babaddbdec
1 changed files with 1 additions and 1 deletions

View File

@ -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); ResourceImporterScene::get_singleton()->get_recognized_extensions(&importer_exts);
String extension = fpath.get_extension(); String extension = fpath.get_extension();
for (List<String>::Element *E = importer_exts.front(); E; E = E->next()) { 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; is_imported = true;
break; break;
} }