mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-22 15:20:15 +02:00
Fix for bug #1025
This commit is contained in:
parent
8f3c8ac01b
commit
1ebe0d5868
@ -1004,8 +1004,11 @@ void PluginRegistrationDialog::OnOK(wxCommandEvent & WXUNUSED(evt))
|
||||
}
|
||||
else if (item.state != STATE_New)
|
||||
{
|
||||
item.plugs[0]->SetEnabled(item.state == STATE_Enabled);
|
||||
item.plugs[0]->SetValid(item.valid);
|
||||
for (size_t j = 0, cnt = item.plugs.GetCount(); j < cnt; j++)
|
||||
{
|
||||
item.plugs[j]->SetEnabled(item.state == STATE_Enabled);
|
||||
item.plugs[j]->SetValid(item.valid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user