Add the command name for macros to the information popup in the automation dialog

Originally committed to SVN as r5666.
This commit is contained in:
Thomas Goyne 2011-09-28 19:52:37 +00:00
parent dbca576d50
commit 5411a57b3c
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ void DialogAutomation::OnInfo(wxCommandEvent &)
std::vector<cmd::Command*> macros = ei->script->GetMacros();
for (std::vector<cmd::Command*>::const_iterator f = macros.begin(); f != macros.end(); ++f)
info += _(" Macro: ") + (*f)->StrDisplay(context) + "\n";
info += wxString::Format(_(" Macro: %s (%s)\n"), (*f)->StrDisplay(context), (*f)->name());
std::vector<Automation4::ExportFilter*> filters = ei->script->GetFilters();
for (std::vector<Automation4::ExportFilter*>::const_iterator f = filters.begin(); f != filters.end(); ++f)