From 8e515d00690a049c2034b280b563b193775373d5 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Sat, 3 Oct 2020 10:50:57 -0700 Subject: [PATCH] Standardize default hotkey refresh --- common/tool/actions.cpp | 6 +++--- pcbnew/tools/pcb_actions.cpp | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/common/tool/actions.cpp b/common/tool/actions.cpp index 6ae1b45df3..f1d1399a88 100644 --- a/common/tool/actions.cpp +++ b/common/tool/actions.cpp @@ -210,13 +210,13 @@ TOOL_ACTION ACTIONS::findAndReplace( "common.Interactive.findAndReplace", TOOL_ACTION ACTIONS::findNext( "common.Interactive.findNext", AS_GLOBAL, - WXK_F5, LEGACY_HK_NAME( "Find Next" ), + WXK_F3, LEGACY_HK_NAME( "Find Next" ), _( "Find Next" ), _( "Find next match" ), find_xpm ); TOOL_ACTION ACTIONS::findNextMarker( "common.Interactive.findNextMarker", 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_xpm ); @@ -241,7 +241,7 @@ TOOL_ACTION ACTIONS::zoomRedraw( "common.Control.zoomRedraw", #if defined( __WXMAC__ ) MD_CTRL + 'R', #else - WXK_F3, + WXK_F5, #endif LEGACY_HK_NAME( "Zoom Redraw" ), _( "Refresh" ), _( "Refresh" ), diff --git a/pcbnew/tools/pcb_actions.cpp b/pcbnew/tools/pcb_actions.cpp index 454e614ba7..813eb3066c 100644 --- a/pcbnew/tools/pcb_actions.cpp +++ b/pcbnew/tools/pcb_actions.cpp @@ -824,37 +824,37 @@ TOOL_ACTION PCB_ACTIONS::layerTop( "pcbnew.Control.layerTop", TOOL_ACTION PCB_ACTIONS::layerInner1( "pcbnew.Control.layerInner1", 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" ), "", nullptr, AF_NOTIFY, (void*) In1_Cu ); TOOL_ACTION PCB_ACTIONS::layerInner2( "pcbnew.Control.layerInner2", 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" ), "", nullptr, AF_NOTIFY, (void*) In2_Cu ); TOOL_ACTION PCB_ACTIONS::layerInner3( "pcbnew.Control.layerInner3", 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" ), "", nullptr, AF_NOTIFY, (void*) In3_Cu ); TOOL_ACTION PCB_ACTIONS::layerInner4( "pcbnew.Control.layerInner4", 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" ), "", nullptr, AF_NOTIFY, (void*) In4_Cu ); TOOL_ACTION PCB_ACTIONS::layerInner5( "pcbnew.Control.layerInner5", 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" ), "", nullptr, AF_NOTIFY, (void*) In5_Cu ); TOOL_ACTION PCB_ACTIONS::layerInner6( "pcbnew.Control.layerInner6", 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" ), "", nullptr, AF_NOTIFY, (void*) In6_Cu );