From 7b67bc053e256f25936550140e68b6ffa7a33f0c Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Wed, 24 Oct 2018 15:02:51 -0400 Subject: [PATCH] Fix the P key to Pause --- src/menus/TransportMenus.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/menus/TransportMenus.cpp b/src/menus/TransportMenus.cpp index 20170f2e9..7cfc62490 100644 --- a/src/menus/TransportMenus.cpp +++ b/src/menus/TransportMenus.cpp @@ -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