mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-03 14:13:11 +02:00
Bug 2644 - Clearing the entries in Extended Import leaves behind a residual list of file formats
This commit is contained in:
parent
e5bb95d6f2
commit
6841919d94
@ -647,8 +647,11 @@ void ExtImportPrefs::OnDelRule(wxCommandEvent& WXUNUSED(event))
|
||||
if (msgres != wxYES)
|
||||
return;
|
||||
|
||||
RuleTable->DeleteRows (last_selected);
|
||||
PluginList->DeleteAllItems();
|
||||
items.erase (items.begin() + last_selected);
|
||||
DoOnRuleTableSelect (last_selected);
|
||||
// This will change last_selected
|
||||
RuleTable->DeleteRows (last_selected);
|
||||
RuleTable->AutoSizeColumns ();
|
||||
if (last_selected >= RuleTable->GetNumberRows ())
|
||||
last_selected = RuleTable->GetNumberRows () - 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user