From 34179cd039c105b9d6fcd6811847a1cb8792987f Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sun, 25 Oct 2020 13:36:08 +0100 Subject: [PATCH] Add missing icon in menu, and fix them in other menus --- common/tool/actions.cpp | 3 ++- pagelayout_editor/tools/pl_selection_tool.cpp | 2 +- pcbnew/tools/selection_tool.cpp | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/common/tool/actions.cpp b/common/tool/actions.cpp index f8c3e8ac88..60e9267053 100644 --- a/common/tool/actions.cpp +++ b/common/tool/actions.cpp @@ -167,7 +167,8 @@ TOOL_ACTION ACTIONS::paste( "common.Interactive.paste", TOOL_ACTION ACTIONS::selectAll( "common.Interactive.selectAll", AS_GLOBAL, MD_CTRL + 'A', "", - _( "Select All" ), _( "Select all items on screen" ) ); + _( "Select All" ), _( "Select all items on screen" ), + plus_xpm ); TOOL_ACTION ACTIONS::pasteSpecial( "common.Interactive.pasteSpecial", AS_GLOBAL, 0, "", diff --git a/pagelayout_editor/tools/pl_selection_tool.cpp b/pagelayout_editor/tools/pl_selection_tool.cpp index efe7cf7243..a16dd9d5b7 100644 --- a/pagelayout_editor/tools/pl_selection_tool.cpp +++ b/pagelayout_editor/tools/pl_selection_tool.cpp @@ -586,7 +586,7 @@ bool PL_SELECTION_TOOL::doSelectionMenu( COLLECTOR* aCollector ) } menu.AppendSeparator(); - menu.Add( _( "Select &All\tA" ), limit + 1, net_highlight_xpm ); + menu.Add( _( "Select &All\tA" ), limit + 1, plus_xpm ); if( aCollector->m_MenuTitle.Length() ) menu.SetTitle( aCollector->m_MenuTitle ); diff --git a/pcbnew/tools/selection_tool.cpp b/pcbnew/tools/selection_tool.cpp index 32613e8d67..5fec4c2aad 100644 --- a/pcbnew/tools/selection_tool.cpp +++ b/pcbnew/tools/selection_tool.cpp @@ -1672,7 +1672,7 @@ bool SELECTION_TOOL::doSelectionMenu( GENERAL_COLLECTOR* aCollector, const wxStr } menu.AppendSeparator(); - menu.Add( _( "Select &All\tA" ), limit + 1, net_highlight_xpm ); + menu.Add( _( "Select &All\tA" ), limit + 1, plus_xpm ); if( !expandSelection && aCollector->HasAdditionalItems() ) menu.Add( _( "&Expand Selection\tE" ), limit + 2, nullptr );