mirror of
				https://github.com/cookiengineer/audacity
				synced 2025-11-04 16:14:00 +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