mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 08:39:46 +02: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:
parent
46a4c4d84d
commit
0f04b76301
@ -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));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user