Standardize default hotkey refresh

This commit is contained in:
Seth Hillbrand 2020-10-03 10:50:57 -07:00
parent 85c6cebd77
commit 8e515d0069
2 changed files with 9 additions and 9 deletions

View File

@ -210,13 +210,13 @@ TOOL_ACTION ACTIONS::findAndReplace( "common.Interactive.findAndReplace",
TOOL_ACTION ACTIONS::findNext( "common.Interactive.findNext", TOOL_ACTION ACTIONS::findNext( "common.Interactive.findNext",
AS_GLOBAL, AS_GLOBAL,
WXK_F5, LEGACY_HK_NAME( "Find Next" ), WXK_F3, LEGACY_HK_NAME( "Find Next" ),
_( "Find Next" ), _( "Find next match" ), _( "Find Next" ), _( "Find next match" ),
find_xpm ); find_xpm );
TOOL_ACTION ACTIONS::findNextMarker( "common.Interactive.findNextMarker", TOOL_ACTION ACTIONS::findNextMarker( "common.Interactive.findNextMarker",
AS_GLOBAL, AS_GLOBAL,
MD_SHIFT + WXK_F5, LEGACY_HK_NAME( "Find Next Marker" ), MD_SHIFT + WXK_F3, LEGACY_HK_NAME( "Find Next Marker" ),
_( "Find Next Marker" ), "", _( "Find Next Marker" ), "",
find_xpm ); find_xpm );
@ -241,7 +241,7 @@ TOOL_ACTION ACTIONS::zoomRedraw( "common.Control.zoomRedraw",
#if defined( __WXMAC__ ) #if defined( __WXMAC__ )
MD_CTRL + 'R', MD_CTRL + 'R',
#else #else
WXK_F3, WXK_F5,
#endif #endif
LEGACY_HK_NAME( "Zoom Redraw" ), LEGACY_HK_NAME( "Zoom Redraw" ),
_( "Refresh" ), _( "Refresh" ), _( "Refresh" ), _( "Refresh" ),

View File

@ -824,37 +824,37 @@ TOOL_ACTION PCB_ACTIONS::layerTop( "pcbnew.Control.layerTop",
TOOL_ACTION PCB_ACTIONS::layerInner1( "pcbnew.Control.layerInner1", TOOL_ACTION PCB_ACTIONS::layerInner1( "pcbnew.Control.layerInner1",
AS_GLOBAL, AS_GLOBAL,
WXK_F5, LEGACY_HK_NAME( "Switch to Inner layer 1" ), 0, LEGACY_HK_NAME( "Switch to Inner layer 1" ),
_( "Switch to Inner layer 1" ), "", _( "Switch to Inner layer 1" ), "",
nullptr, AF_NOTIFY, (void*) In1_Cu ); nullptr, AF_NOTIFY, (void*) In1_Cu );
TOOL_ACTION PCB_ACTIONS::layerInner2( "pcbnew.Control.layerInner2", TOOL_ACTION PCB_ACTIONS::layerInner2( "pcbnew.Control.layerInner2",
AS_GLOBAL, AS_GLOBAL,
WXK_F6, LEGACY_HK_NAME( "Switch to Inner layer 2" ), 0, LEGACY_HK_NAME( "Switch to Inner layer 2" ),
_( "Switch to Inner layer 2" ), "", _( "Switch to Inner layer 2" ), "",
nullptr, AF_NOTIFY, (void*) In2_Cu ); nullptr, AF_NOTIFY, (void*) In2_Cu );
TOOL_ACTION PCB_ACTIONS::layerInner3( "pcbnew.Control.layerInner3", TOOL_ACTION PCB_ACTIONS::layerInner3( "pcbnew.Control.layerInner3",
AS_GLOBAL, AS_GLOBAL,
WXK_F7, LEGACY_HK_NAME( "Switch to Inner layer 3" ), 0, LEGACY_HK_NAME( "Switch to Inner layer 3" ),
_( "Switch to Inner layer 3" ), "", _( "Switch to Inner layer 3" ), "",
nullptr, AF_NOTIFY, (void*) In3_Cu ); nullptr, AF_NOTIFY, (void*) In3_Cu );
TOOL_ACTION PCB_ACTIONS::layerInner4( "pcbnew.Control.layerInner4", TOOL_ACTION PCB_ACTIONS::layerInner4( "pcbnew.Control.layerInner4",
AS_GLOBAL, AS_GLOBAL,
WXK_F8, LEGACY_HK_NAME( "Switch to Inner layer 4" ), 0, LEGACY_HK_NAME( "Switch to Inner layer 4" ),
_( "Switch to Inner layer 4" ), "", _( "Switch to Inner layer 4" ), "",
nullptr, AF_NOTIFY, (void*) In4_Cu ); nullptr, AF_NOTIFY, (void*) In4_Cu );
TOOL_ACTION PCB_ACTIONS::layerInner5( "pcbnew.Control.layerInner5", TOOL_ACTION PCB_ACTIONS::layerInner5( "pcbnew.Control.layerInner5",
AS_GLOBAL, AS_GLOBAL,
MD_SHIFT + WXK_F5, LEGACY_HK_NAME( "Switch to Inner layer 5" ), 0, LEGACY_HK_NAME( "Switch to Inner layer 5" ),
_( "Switch to Inner layer 5" ), "", _( "Switch to Inner layer 5" ), "",
nullptr, AF_NOTIFY, (void*) In5_Cu ); nullptr, AF_NOTIFY, (void*) In5_Cu );
TOOL_ACTION PCB_ACTIONS::layerInner6( "pcbnew.Control.layerInner6", TOOL_ACTION PCB_ACTIONS::layerInner6( "pcbnew.Control.layerInner6",
AS_GLOBAL, AS_GLOBAL,
MD_SHIFT + WXK_F6, LEGACY_HK_NAME( "Switch to Inner layer 6" ), 0, LEGACY_HK_NAME( "Switch to Inner layer 6" ),
_( "Switch to Inner layer 6" ), "", _( "Switch to Inner layer 6" ), "",
nullptr, AF_NOTIFY, (void*) In6_Cu ); nullptr, AF_NOTIFY, (void*) In6_Cu );