mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Don't encode command options as part of accelerator string...
... also restore the intended meaning of "allowDup" (for debugging checks only),
which had never been properly implemented because the label, not the
accelerator, was scanned for it; see commit f2f7568
This commit is contained in:
@@ -882,13 +882,14 @@ AttachedItem sAttachment2{
|
||||
|
||||
BaseItemSharedPtr ExtraClipCursorItems()
|
||||
{
|
||||
using Options = CommandManager::Options;
|
||||
static BaseItemSharedPtr items{
|
||||
( FinderScope{ findCommandHandler },
|
||||
Items( wxT("Clip"),
|
||||
Command( wxT("ClipLeft"), XXO("Clip L&eft"), FN(OnClipLeft),
|
||||
TracksExistFlag() | TrackPanelHasFocus(), wxT("\twantKeyup") ),
|
||||
TracksExistFlag() | TrackPanelHasFocus(), Options{}.WantKeyUp() ),
|
||||
Command( wxT("ClipRight"), XXO("Clip Rig&ht"), FN(OnClipRight),
|
||||
TracksExistFlag() | TrackPanelHasFocus(), wxT("\twantKeyup") )
|
||||
TracksExistFlag() | TrackPanelHasFocus(), Options{}.WantKeyUp() )
|
||||
) ) };
|
||||
return items;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user