1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-16 09:31:14 +01:00
This commit is contained in:
Leland Lucius
2015-06-12 10:09:59 -05:00
parent 8f3c8ac01b
commit 1ebe0d5868

View File

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