mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-28 14:18:41 +02: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:
parent
32212d7fcd
commit
4221549ec9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user