mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-23 16:08:07 +02:00
Bug 1656 - (Windows) Disabled Edit Toolbar buttons not skipped for navigation and respond to ENTER as if auto-select was On
This fix addresses the second part. ENTER (including from numpad) now has no effect if the button is disabled.
This commit is contained in:
parent
d903845a6b
commit
c12f849f36
@ -496,6 +496,8 @@ void AButton::OnKeyDown(wxKeyEvent & event)
|
||||
break;
|
||||
case WXK_RETURN:
|
||||
case WXK_NUMPAD_ENTER:
|
||||
if( !mEnabled )
|
||||
break;
|
||||
mWasShiftDown = event.ShiftDown();
|
||||
mWasControlDown = event.ControlDown();
|
||||
Click();
|
||||
|
Loading…
x
Reference in New Issue
Block a user