From db07b43674cacafd09745912fb7376419a66ffa7 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 26 Nov 2018 23:56:31 +0000 Subject: [PATCH] Fix copy/paste errors with wrong icons. Fixes: lp:1805123 * https://bugs.launchpad.net/kicad/+bug/1805123 --- pcbnew/footprint_tree_pane.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pcbnew/footprint_tree_pane.cpp b/pcbnew/footprint_tree_pane.cpp index 632a2e92cb..e8a966ef51 100644 --- a/pcbnew/footprint_tree_pane.cpp +++ b/pcbnew/footprint_tree_pane.cpp @@ -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 menuNoSelection = std::make_unique();