1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-07 15:49:42 +02:00

Fix the P key to Pause

This commit is contained in:
Paul Licameli 2018-10-24 15:02:51 -04:00
parent 5eb670fd63
commit 7b67bc053e

View File

@ -1087,11 +1087,9 @@ MenuTable::BaseItemPtr TransportMenu( AudacityProject &project )
// JKC: I decided to duplicate this between play and record,
// rather than put it at the top level.
// CommandManger::AddItem can now cope with simple duplicated items.
// PRL: This second registration of wxT("Pause") and XXO("&Pause")
// in fact will ignore the given flags and use the same flags as in
// the previous registration.
Command( wxT("Pause"), XXO("&Pause"), FN(OnPause), CanStopFlags,
wxT("P") )
// PRL: caution, this is a duplicated command name!
Command( wxT("Pause"), XXO("&Pause"), FN(OnPause),
CanStopAudioStreamFlag, wxT("P") )
),
// Scrubbing sub-menu