Fix copy/paste errors with wrong icons.

Fixes: lp:1805123
* https://bugs.launchpad.net/kicad/+bug/1805123
This commit is contained in:
Jeff Young 2018-11-26 23:56:31 +00:00
parent 1eb0f70de5
commit db07b43674
1 changed files with 4 additions and 4 deletions

View File

@ -61,13 +61,13 @@ FOOTPRINT_TREE_PANE::FOOTPRINT_TREE_PANE( FOOTPRINT_EDIT_FRAME* aParent )
menuLibrary->AppendSeparator();
AddMenuItem( menuLibrary.get(), ID_MODEDIT_NEW_MODULE, _( "&New Footprint..." ),
KiBitmap( new_component_xpm ) );
KiBitmap( new_footprint_xpm ) );
#ifdef KICAD_SCRIPTING
AddMenuItem( menuLibrary.get(), ID_MODEDIT_NEW_MODULE_FROM_WIZARD, _( "&Create Footprint from Wizard..." ),
KiBitmap( new_component_xpm ) );
KiBitmap( module_wizard_xpm ) );
#endif
AddMenuItem( menuLibrary.get(), ID_MODEDIT_IMPORT_PART, _( "&Import Footprint..." ),
KiBitmap( import_part_xpm ) );
KiBitmap( import_module_xpm ) );
AddMenuItem( menuLibrary.get(), ID_MODEDIT_PASTE_PART, _( "Paste Footprint" ),
KiBitmap( paste_xpm ) );
@ -93,7 +93,7 @@ FOOTPRINT_TREE_PANE::FOOTPRINT_TREE_PANE( FOOTPRINT_EDIT_FRAME* aParent )
menuPart->AppendSeparator();
AddMenuItem( menuPart.get(), ID_MODEDIT_EXPORT_PART, _( "E&xport Footprint..." ),
KiBitmap( export_part_xpm ) );
KiBitmap( export_module_xpm ) );
// Menu displayed when nothing is selected
std::unique_ptr<wxMenu> menuNoSelection = std::make_unique<wxMenu>();