1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 01:29:43 +02:00

Bug 2284 - Macro Manager offers to apply changes to wrong macro

This commit is contained in:
James Crook 2020-02-17 17:42:17 +00:00
parent a6699ed494
commit 4512ad76ac

View File

@ -1008,6 +1008,10 @@ void MacrosWindow::OnRemove(wxCommandEvent & WXUNUSED(event))
item--;
}
// Bug 2284. The macro we have just removed might have been
// changed. Since we've just deleted the macro, we should
// forget about that change.
mChanged = false;
mActiveMacro = mMacros->GetItemText(item);
PopulateMacros();