diff --git a/pcbnew/dialogs/panel_fp_lib_table.cpp b/pcbnew/dialogs/panel_fp_lib_table.cpp index 1db4974cac..a54913a2a4 100644 --- a/pcbnew/dialogs/panel_fp_lib_table.cpp +++ b/pcbnew/dialogs/panel_fp_lib_table.cpp @@ -200,7 +200,7 @@ public: PCB_IO_MGR::PCB_FILE_T pluginType = PCB_IO_MGR::GuessPluginTypeFromLibPath( fullURI ); - if( pluginType == PCB_IO_MGR::UNKNOWN ) + if( pluginType == PCB_IO_MGR::FILE_TYPE_NONE ) pluginType = PCB_IO_MGR::KICAD_SEXP; SetValue( aRow, COL_TYPE, PCB_IO_MGR::ShowType( pluginType ) );