Fix copy/paste errors with wrong icons.
Fixes: lp:1805123 * https://bugs.launchpad.net/kicad/+bug/1805123
This commit is contained in:
parent
1eb0f70de5
commit
db07b43674
|
@ -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>();
|
||||
|
|
Loading…
Reference in New Issue