1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-14 09:03:54 +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:
Paul Licameli
2020-05-05 00:02:21 -04:00
parent 1efb10cf78
commit 1ef29b7a51
6 changed files with 46 additions and 17 deletions

View File

@@ -1259,10 +1259,12 @@ BaseItemSharedPtr KeyboardScrubbingItems()
Items( wxT("KeyboardScrubbing"),
Command(wxT("KeyboardScrubBackwards"), XXO("Scrub Bac&kwards"),
&Scrubber::OnKeyboardScrubBackwards,
CaptureNotBusyFlag() | CanStopAudioStreamFlag(), wxT("U\twantKeyup")),
CaptureNotBusyFlag() | CanStopAudioStreamFlag(),
Options{ wxT("U") }.WantKeyUp() ),
Command(wxT("KeyboardScrubForwards"), XXO("Scrub For&wards"),
&Scrubber::OnKeyboardScrubForwards,
CaptureNotBusyFlag() | CanStopAudioStreamFlag(), wxT("I\twantKeyup"))
CaptureNotBusyFlag() | CanStopAudioStreamFlag(),
Options{ wxT("I") }.WantKeyUp() )
) ) };
return items;
}