mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-01 08:09:41 +02:00
Change the value reported by accessibility to be view specific...DOH!!!
This commit is contained in:
parent
00314f9564
commit
7e8d9b104a
@ -1721,13 +1721,28 @@ KeyView::GetValue(int line)
|
||||
}
|
||||
|
||||
// Get the label and key values
|
||||
wxString value = GetFullLabel(LineToIndex(line));
|
||||
wxString value;
|
||||
if (mViewType == ViewByTree)
|
||||
{
|
||||
value = GetLabel(LineToIndex(line));
|
||||
}
|
||||
else
|
||||
{
|
||||
value = GetFullLabel(LineToIndex(line));
|
||||
}
|
||||
wxString key = GetKey(LineToIndex(line));
|
||||
|
||||
// Add the key if it isn't empty
|
||||
if (!key.IsEmpty())
|
||||
{
|
||||
value += wxT(" ") + key;
|
||||
if (mViewType == ViewByKey)
|
||||
{
|
||||
value = key + wxT(" ") + value;
|
||||
}
|
||||
else
|
||||
{
|
||||
value = value + wxT(" ") + key;
|
||||
}
|
||||
}
|
||||
|
||||
return value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user