mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-05 06:01:04 +01:00
NumericTextCtrl: fix minor bug with NVDA screen reader
Problem: with using up/down arrow NVDA reads the updated field twice. Fix: remove generation of an unnecessary event.
This commit is contained in:
@@ -1857,10 +1857,6 @@ void NumericTextCtrl::Updated(bool keyup /* = false */)
|
||||
|
||||
#if wxUSE_ACCESSIBILITY
|
||||
if (!keyup) {
|
||||
GetAccessible()->NotifyEvent(wxACC_EVENT_OBJECT_NAMECHANGE,
|
||||
this,
|
||||
wxOBJID_CLIENT,
|
||||
mFocusedDigit + 1);
|
||||
SetFieldFocus(mFocusedDigit);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user