1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-05 16:43:52 +01:00

Bug 2342 - Macro Manager offers to apply changes to newly created macro

This commit is contained in:
James Crook
2020-02-26 10:30:48 +00:00
parent c63a1632dc
commit 2ab35e8c1b

View File

@@ -931,6 +931,11 @@ void MacrosWindow::OnMacrosEndEdit(wxListEvent &event)
///
void MacrosWindow::OnAdd(wxCommandEvent & WXUNUSED(event))
{
// Similar to Bug 2284 we may need to save a changed macro.
if (!ChangeOK()) {
return;
}
while (true) {
AudacityTextEntryDialog d(this,
XO("Enter name of new macro"),