diff --git a/eeschema/sch_io/sch_io_mgr.cpp b/eeschema/sch_io/sch_io_mgr.cpp index 64e3f405eb..3bd55aee1a 100644 --- a/eeschema/sch_io/sch_io_mgr.cpp +++ b/eeschema/sch_io/sch_io_mgr.cpp @@ -154,10 +154,7 @@ SCH_IO_MGR::SCH_FILE_T SCH_IO_MGR::GuessPluginTypeFromLibPath( const wxString& a if( !pi ) continue; - // Use SCH_IO::CanReadLibrary() here instead of SCH_IO_KICAD_SEXPR::CanReadLibrary - // because aLibPath does not always exist, and we need to use the version that - // does not test the existence of fil, just know if aLibPath file type can be handled. - if( pi->SCH_IO::CanReadLibrary( aLibPath ) ) + if( pi->CanReadLibrary( aLibPath ) ) return fileType; }