Clarify Flip action

Fixes https://gitlab.com/kicad/code/kicad/issues/6954
This commit is contained in:
Seth Hillbrand 2021-01-06 13:02:30 -08:00
parent 87b2081807
commit c0f940438a
2 changed files with 8 additions and 8 deletions

View File

@ -1218,7 +1218,7 @@ int EDIT_TOOL::Flip( const TOOL_EVENT& aEvent )
} }
if( !m_dragging ) if( !m_dragging )
m_commit->Push( _( "Flip" ) ); m_commit->Push( _( "Change Side / Flip" ) );
if( selection.IsHover() && !m_dragging ) if( selection.IsHover() && !m_dragging )
m_toolMgr->RunAction( PCB_ACTIONS::selectionClear, true ); m_toolMgr->RunAction( PCB_ACTIONS::selectionClear, true );

View File

@ -286,7 +286,7 @@ TOOL_ACTION PCB_ACTIONS::rotateCcw( "pcbnew.InteractiveEdit.rotateCcw",
TOOL_ACTION PCB_ACTIONS::flip( "pcbnew.InteractiveEdit.flip", TOOL_ACTION PCB_ACTIONS::flip( "pcbnew.InteractiveEdit.flip",
AS_GLOBAL, AS_GLOBAL,
'F', LEGACY_HK_NAME( "Flip Item" ), 'F', LEGACY_HK_NAME( "Flip Item" ),
_( "Flip" ), _( "Flips selected item(s) to opposite side of board" ), _( "Change Side / Flip" ), _( "Flips selected item(s) to opposite side of board" ),
swap_layer_xpm ); swap_layer_xpm );
TOOL_ACTION PCB_ACTIONS::mirror( "pcbnew.InteractiveEdit.mirror", TOOL_ACTION PCB_ACTIONS::mirror( "pcbnew.InteractiveEdit.mirror",