mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-22 15:20:15 +02:00
Bug 1639 - Revert fix.
The fix was regarded as a workaround, and too draconian. The problem is that Left and Right shortcuts are being captured (somehow) by our CommandManager when navigating in docked toolbars. A full and proper fix rather than not binding these shortcuts would apply them to the toolbar in preference to the CommandManager, and so fix bug 1637, which Bug 1639 has now been marked as a duplicate of.
This commit is contained in:
parent
8bfe4cc685
commit
623d0f29bf
@ -1343,8 +1343,8 @@ void AudacityProject::CreateMenusAndCommands()
|
|||||||
c->SetDefaultFlags(AudioIOBusyFlag, AudioIOBusyFlag);
|
c->SetDefaultFlags(AudioIOBusyFlag, AudioIOBusyFlag);
|
||||||
c->BeginSubMenu("Scrub");
|
c->BeginSubMenu("Scrub");
|
||||||
|
|
||||||
c->AddItem(wxT("SeekLeftShort"), _("Short seek left during playback"), FN(OnSeekLeftShort), wxT("Ctrl+Left\tallowDup"));
|
c->AddItem(wxT("SeekLeftShort"), _("Short seek left during playback"), FN(OnSeekLeftShort), wxT("Left\tallowDup"));
|
||||||
c->AddItem(wxT("SeekRightShort"), _("Short seek right during playback"), FN(OnSeekRightShort), wxT("Ctrl+Right\tallowDup"));
|
c->AddItem(wxT("SeekRightShort"), _("Short seek right during playback"), FN(OnSeekRightShort), wxT("Right\tallowDup"));
|
||||||
c->AddItem(wxT("SeekLeftLong"), _("Long seek left during playback"), FN(OnSeekLeftLong), wxT("Shift+Left\tallowDup"));
|
c->AddItem(wxT("SeekLeftLong"), _("Long seek left during playback"), FN(OnSeekLeftLong), wxT("Shift+Left\tallowDup"));
|
||||||
c->AddItem(wxT("SeekRightLong"), _("Long Seek right during playback"), FN(OnSeekRightLong), wxT("Shift+Right\tallowDup"));
|
c->AddItem(wxT("SeekRightLong"), _("Long Seek right during playback"), FN(OnSeekRightLong), wxT("Shift+Right\tallowDup"));
|
||||||
c->EndSubMenu();
|
c->EndSubMenu();
|
||||||
@ -1430,8 +1430,8 @@ void AudacityProject::CreateMenusAndCommands()
|
|||||||
c->SetDefaultFlags(TracksExistFlag, TracksExistFlag );
|
c->SetDefaultFlags(TracksExistFlag, TracksExistFlag );
|
||||||
c->BeginSubMenu("Cursor");
|
c->BeginSubMenu("Cursor");
|
||||||
|
|
||||||
c->AddItem(wxT("CursorLeft"), _("Cursor Left"), FN(OnCursorLeft), wxT("Ctrl+Left\twantKeyup\tallowDup"));
|
c->AddItem(wxT("CursorLeft"), _("Cursor Left"), FN(OnCursorLeft), wxT("Left\twantKeyup\tallowDup"));
|
||||||
c->AddItem(wxT("CursorRight"), _("Cursor Right"), FN(OnCursorRight), wxT("Ctrl+Right\twantKeyup\tallowDup"));
|
c->AddItem(wxT("CursorRight"), _("Cursor Right"), FN(OnCursorRight), wxT("Right\twantKeyup\tallowDup"));
|
||||||
c->AddItem(wxT("CursorShortJumpLeft"), _("Cursor Short Jump Left"), FN(OnCursorShortJumpLeft), wxT(","));
|
c->AddItem(wxT("CursorShortJumpLeft"), _("Cursor Short Jump Left"), FN(OnCursorShortJumpLeft), wxT(","));
|
||||||
c->AddItem(wxT("CursorShortJumpRight"), _("Cursor Short Jump Right"), FN(OnCursorShortJumpRight), wxT("."));
|
c->AddItem(wxT("CursorShortJumpRight"), _("Cursor Short Jump Right"), FN(OnCursorShortJumpRight), wxT("."));
|
||||||
c->AddItem(wxT("CursorLongJumpLeft"), _("Cursor Long Jump Left"), FN(OnCursorLongJumpLeft), wxT("Shift+,"));
|
c->AddItem(wxT("CursorLongJumpLeft"), _("Cursor Long Jump Left"), FN(OnCursorLongJumpLeft), wxT("Shift+,"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user