Temporary hack to make automation macros work

Originally committed to SVN as r5444.
This commit is contained in:
Thomas Goyne 2011-07-15 04:03:42 +00:00
parent b5a02e202e
commit 3df2885ce5

View file

@ -241,6 +241,8 @@ void FrameMain::cmd_call(wxCommandEvent& event) {
LOG_D("event/select") << "Id: " << id; LOG_D("event/select") << "Id: " << id;
if (id < cmd::count()) if (id < cmd::count())
cmd::call(context.get(), id); cmd::call(context.get(), id);
else if (id >= ID_MENU_AUTOMATION_MACRO)
OnAutomationMacro(event);
} }
/// @brief Initialize toolbar /// @brief Initialize toolbar