diff --git a/pcbnew/dialogs/panel_fp_lib_table.cpp b/pcbnew/dialogs/panel_fp_lib_table.cpp index 9d1530a2af..b15472f6f7 100644 --- a/pcbnew/dialogs/panel_fp_lib_table.cpp +++ b/pcbnew/dialogs/panel_fp_lib_table.cpp @@ -59,7 +59,7 @@ #include #include #include -#include +#include // For ID_PCBNEW_END_LIST // clang-format off struct supportedFileType @@ -70,6 +70,16 @@ struct supportedFileType IO_MGR::PCB_FILE_T m_Plugin; }; +/* + * Event IDs for the menu items in the split button menu + */ +enum { + ID_PANEL_FPLIB_ADD_KICADMOD = ID_PCBNEW_END_LIST, + ID_PANEL_FPLIB_ADD_EAGLE6, + ID_PANEL_FPLIB_ADD_KICADLEGACY, + ID_PANEL_FPLIB_ADD_GEDA, +}; + /* * Map of event id as key to the file type struct */ diff --git a/pcbnew/pcbnew_id.h b/pcbnew/pcbnew_id.h index 2cf7c0bc72..8fbda367d6 100644 --- a/pcbnew/pcbnew_id.h +++ b/pcbnew/pcbnew_id.h @@ -126,11 +126,6 @@ enum pcbnew_ids ID_ADD_FOOTPRINT_TO_BOARD, - ID_PANEL_FPLIB_ADD_KICADMOD, - ID_PANEL_FPLIB_ADD_EAGLE6, - ID_PANEL_FPLIB_ADD_KICADLEGACY, - ID_PANEL_FPLIB_ADD_GEDA, - ID_PCBNEW_END_LIST };