mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-17 17:17:40 +02:00
Changed names of the commands to move to next/previous label
Selection to next label => Move to Next Label Selection to previous label => Move to Previous Label
This commit is contained in:
parent
ccbee2b8d9
commit
5542f88089
@ -1256,9 +1256,9 @@ void AudacityProject::CreateMenusAndCommands()
|
|||||||
c->AddCommand(wxT("PlaySpeedInc"), _("Increase playback speed"), FN(OnPlaySpeedInc));
|
c->AddCommand(wxT("PlaySpeedInc"), _("Increase playback speed"), FN(OnPlaySpeedInc));
|
||||||
c->AddCommand(wxT("PlaySpeedDec"), _("Decrease playback speed"), FN(OnPlaySpeedDec));
|
c->AddCommand(wxT("PlaySpeedDec"), _("Decrease playback speed"), FN(OnPlaySpeedDec));
|
||||||
|
|
||||||
c->AddCommand(wxT("SelToNextLabel"), _("Selection to next label"), FN(OnSelToNextLabel), wxT("Alt+Right"),
|
c->AddCommand(wxT("MoveToNextLabel"), _("Move to Next Label"), FN(OnMoveToNextLabel), wxT("Alt+Right"),
|
||||||
CaptureNotBusyFlag | TrackPanelHasFocus, CaptureNotBusyFlag | TrackPanelHasFocus);
|
CaptureNotBusyFlag | TrackPanelHasFocus, CaptureNotBusyFlag | TrackPanelHasFocus);
|
||||||
c->AddCommand(wxT("SelToPrevLabel"), _("Selection to previous label"), FN(OnSelToPrevLabel), wxT("Alt+Left"),
|
c->AddCommand(wxT("MoveToPrevLabel"), _("Move to Previous Label"), FN(OnMoveToPrevLabel), wxT("Alt+Left"),
|
||||||
CaptureNotBusyFlag | TrackPanelHasFocus, CaptureNotBusyFlag | TrackPanelHasFocus);
|
CaptureNotBusyFlag | TrackPanelHasFocus, CaptureNotBusyFlag | TrackPanelHasFocus);
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
@ -2667,17 +2667,17 @@ void AudacityProject::OnSelToEnd()
|
|||||||
ModifyState(false);
|
ModifyState(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AudacityProject::OnSelToNextLabel()
|
void AudacityProject::OnMoveToNextLabel()
|
||||||
{
|
{
|
||||||
OnSelToLabel(true);
|
OnMoveToLabel(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AudacityProject::OnSelToPrevLabel()
|
void AudacityProject::OnMoveToPrevLabel()
|
||||||
{
|
{
|
||||||
OnSelToLabel(false);
|
OnMoveToLabel(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AudacityProject::OnSelToLabel(bool next)
|
void AudacityProject::OnMoveToLabel(bool next)
|
||||||
{
|
{
|
||||||
// Find the number of label tracks, and ptr to last track found
|
// Find the number of label tracks, and ptr to last track found
|
||||||
Track* track = nullptr;
|
Track* track = nullptr;
|
||||||
|
@ -170,9 +170,9 @@ void OnSetRightSelection();
|
|||||||
void OnSelToStart();
|
void OnSelToStart();
|
||||||
void OnSelToEnd();
|
void OnSelToEnd();
|
||||||
|
|
||||||
void OnSelToNextLabel();
|
void OnMoveToNextLabel();
|
||||||
void OnSelToPrevLabel();
|
void OnMoveToPrevLabel();
|
||||||
void OnSelToLabel(bool next);
|
void OnMoveToLabel(bool next);
|
||||||
|
|
||||||
void OnZeroCrossing();
|
void OnZeroCrossing();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user