1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-02 08:59:28 +02:00

Add Align commands to repertoire.

Previously we ignored the 'multis'.
This commit is contained in:
James Crook 2018-03-14 19:57:26 +00:00
parent 86cd720d99
commit 7910688c03
2 changed files with 3 additions and 3 deletions

View File

@ -313,8 +313,8 @@ MacroCommandsCatalog::MacroCommandsCatalog( const AudacityProject *project )
wxArrayString mNames;
mLabels.Clear();
mNames.Clear();
mManager->GetAllCommandLabels(mLabels, false);
mManager->GetAllCommandNames(mNames, false);
mManager->GetAllCommandLabels(mLabels, true);
mManager->GetAllCommandNames(mNames, true);
const bool english = wxGetLocale()->GetCanonicalName().StartsWith(wxT("en"));

View File

@ -1658,7 +1658,7 @@ void CommandManager::GetAllCommandNames(wxArrayString &names,
if (!entry->multi)
names.Add(entry->name);
else if( includeMultis )
names.Add(entry->name + wxT(":")/*+ mCommandList[i]->label*/);
names.Add(entry->name );// + wxT(":")/*+ mCommandList[i]->label*/);
}
}