From c8a0a58683be38817dd03c29ca9334cc6975cf7e Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop Date: Tue, 16 Jan 2024 19:35:10 +0300 Subject: [PATCH] Fix PCB_FILE_T usage in FP_LIB_TABLE_GRID. --- pcbnew/dialogs/panel_fp_lib_table.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) );