1
0
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:
lllucius 2013-10-03 15:04:07 +00:00
parent 00314f9564
commit 7e8d9b104a

View File

@ -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;