mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-23 15:50:05 +02:00
Fix two more 'select' commands which expected to be activated by a keyboard event.
This commit is contained in:
parent
a68f7fc10c
commit
218f2ebb8d
@ -2978,12 +2978,14 @@ void AudacityProject::OnToggle()
|
|||||||
|
|
||||||
void AudacityProject::OnCursorLeft(const wxEvent * evt)
|
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)
|
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()
|
void AudacityProject::OnCursorShortJumpLeft()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user