1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-05 14:18:53 +02:00

Fix two more 'select' commands which expected to be activated by a keyboard event.

This commit is contained in:
James Crook 2017-04-22 19:18:34 +01:00
parent a68f7fc10c
commit 218f2ebb8d

View File

@ -2978,12 +2978,14 @@ void AudacityProject::OnToggle()
void AudacityProject::OnCursorLeft(const wxEvent * evt)
{
OnCursorLeft( false, false, evt->GetEventType() == wxEVT_KEY_UP );
bool bKeyUp = (evt) && evt->GetEventType() == wxEVT_KEY_UP;
OnCursorLeft( false, false, bKeyUp );
}
void AudacityProject::OnCursorRight(const wxEvent * evt)
{
OnCursorRight( false, false, evt->GetEventType() == wxEVT_KEY_UP );
bool bKeyUp = (evt) && evt->GetEventType() == wxEVT_KEY_UP;
OnCursorRight( false, false, bKeyUp );
}
void AudacityProject::OnCursorShortJumpLeft()