mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-08 20:52:09 +01:00
Change the value reported by accessibility to be view specific...DOH!!!
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user