From 2c3d72f0a27c19ebb5e6febad682b6a93b1afea0 Mon Sep 17 00:00:00 2001 From: David Bailes Date: Sun, 20 Nov 2016 12:50:50 +0000 Subject: [PATCH] Remove default keystrokes from Move to Next/Previous label Reasons for removing the default keystrokes: 1. Added keystrokes may conflict with keystrokes already defined by user, and Audacity doesn't currently handle this situation in a user friendly manner. 2 There may be additional label commands in the near future, so even if default keystrokes were felt appropriate for these commands, it may be useful to delay the assignment until any other related commands have been decided. --- src/Menus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Menus.cpp b/src/Menus.cpp index c991acc75..bb6b8e402 100644 --- a/src/Menus.cpp +++ b/src/Menus.cpp @@ -1262,9 +1262,9 @@ void AudacityProject::CreateMenusAndCommands() c->AddCommand(wxT("PlaySpeedInc"), _("Increase playback speed"), FN(OnPlaySpeedInc)); c->AddCommand(wxT("PlaySpeedDec"), _("Decrease playback speed"), FN(OnPlaySpeedDec)); - c->AddCommand(wxT("MoveToNextLabel"), _("Move to Next Label"), FN(OnMoveToNextLabel), wxT("Alt+Right"), + c->AddCommand(wxT("MoveToNextLabel"), _("Move to Next Label"), FN(OnMoveToNextLabel), CaptureNotBusyFlag | TrackPanelHasFocus, CaptureNotBusyFlag | TrackPanelHasFocus); - c->AddCommand(wxT("MoveToPrevLabel"), _("Move to Previous Label"), FN(OnMoveToPrevLabel), wxT("Alt+Left"), + c->AddCommand(wxT("MoveToPrevLabel"), _("Move to Previous Label"), FN(OnMoveToPrevLabel), CaptureNotBusyFlag | TrackPanelHasFocus, CaptureNotBusyFlag | TrackPanelHasFocus); #ifdef __WXMAC__