Move default assignment on Mac.
CHANGED: add corner and repeat last command now default to 'I' instead of '<insert>' on Mac. 1) wxWidgets doesn't currently display the correct graphic in the menu for the insert key 2) Mac laptops don't have an instert key Fixes https://gitlab.com/kicad/code/kicad/issues/5016
This commit is contained in:
parent
2d609a795d
commit
e48f86bfd6
|
@ -355,7 +355,11 @@ TOOL_ACTION EE_ACTIONS::finishSheet( "eeschema.InteractiveDrawing.finishSheet",
|
||||||
//
|
//
|
||||||
TOOL_ACTION EE_ACTIONS::repeatDrawItem( "eeschema.InteractiveEdit.repeatDrawItem",
|
TOOL_ACTION EE_ACTIONS::repeatDrawItem( "eeschema.InteractiveEdit.repeatDrawItem",
|
||||||
AS_GLOBAL,
|
AS_GLOBAL,
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
'I', LEGACY_HK_NAME( "Repeat Last Item" ),
|
||||||
|
#else
|
||||||
WXK_INSERT, LEGACY_HK_NAME( "Repeat Last Item" ),
|
WXK_INSERT, LEGACY_HK_NAME( "Repeat Last Item" ),
|
||||||
|
#endif
|
||||||
_( "Repeat Last Item" ), _( "Duplicates the last drawn item" ),
|
_( "Repeat Last Item" ), _( "Duplicates the last drawn item" ),
|
||||||
nullptr );
|
nullptr );
|
||||||
|
|
||||||
|
|
|
@ -1112,7 +1112,11 @@ TOOL_ACTION PCB_ACTIONS::distributeVertically( "pcbnew.AlignAndDistribute.distri
|
||||||
//
|
//
|
||||||
TOOL_ACTION PCB_ACTIONS::pointEditorAddCorner( "pcbnew.PointEditor.addCorner",
|
TOOL_ACTION PCB_ACTIONS::pointEditorAddCorner( "pcbnew.PointEditor.addCorner",
|
||||||
AS_GLOBAL,
|
AS_GLOBAL,
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
'I', "",
|
||||||
|
#else
|
||||||
WXK_INSERT, "",
|
WXK_INSERT, "",
|
||||||
|
#endif
|
||||||
_( "Create Corner" ), _( "Create a corner" ),
|
_( "Create Corner" ), _( "Create a corner" ),
|
||||||
add_corner_xpm );
|
add_corner_xpm );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue