mirror of
				https://github.com/cookiengineer/audacity
				synced 2025-11-04 08:04:06 +01:00 
			
		
		
		
	Trim space from builtin effect names during display
And do not change state of New effects until the user specifically requests it...that way they remain "new".
This commit is contained in:
		@@ -613,7 +613,7 @@ void PluginRegistrationDialog::PopulateOrExchange(ShuttleGui &S)
 | 
			
		||||
      else if (plugType == PluginTypeStub)
 | 
			
		||||
      {
 | 
			
		||||
         wxFileName fname = path;
 | 
			
		||||
         item.name = fname.GetName();
 | 
			
		||||
         item.name = fname.GetName().Trim(false).Trim(true);
 | 
			
		||||
         if (!plug.IsValid())
 | 
			
		||||
         {
 | 
			
		||||
            item.state = STATE_New;
 | 
			
		||||
@@ -2137,7 +2137,7 @@ void PluginManager::CheckForUpdates()
 | 
			
		||||
            }
 | 
			
		||||
         }
 | 
			
		||||
      }
 | 
			
		||||
      else if (plugType != PluginTypeNone)
 | 
			
		||||
      else if (plugType != PluginTypeNone && plugType != PluginTypeStub)
 | 
			
		||||
      {
 | 
			
		||||
         plug.SetValid(mm.IsPluginValid(plug.GetProviderID(), plugPath));
 | 
			
		||||
      }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user