Bug2239: Windows, accessibility problem when TrackPanel regains focus
Problem:
When the TrackPanel regains focus, screen readers do not read the track name.
Introduced by the commit: acfd2b70
Fix:
Change TrackPanel::SetFocusedCell() so that it actually sets the focus, rather than just getting it :)
Note: this also fixes bug 2238
This commit is contained in:
parent
3c5906193b
commit
185d555fc6
|
@ -1364,8 +1364,9 @@ TrackPanelCell *TrackPanel::GetFocusedCell()
|
|||
|
||||
void TrackPanel::SetFocusedCell()
|
||||
{
|
||||
// This may have a side-effet of assigning a focus if there was none
|
||||
TrackFocus::Get( *GetProject() ).Get();
|
||||
// This may have a side-effect of assigning a focus if there was none
|
||||
auto& trackFocus = TrackFocus::Get(*GetProject());
|
||||
trackFocus.Set(trackFocus.Get());
|
||||
KeyboardCapture::Capture(this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue