From 3df2885ce5ae569055626e2e794246f3d3b9ea0f Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Fri, 15 Jul 2011 04:03:42 +0000 Subject: [PATCH] Temporary hack to make automation macros work Originally committed to SVN as r5444. --- aegisub/src/frame_main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aegisub/src/frame_main.cpp b/aegisub/src/frame_main.cpp index 9e22e8bc5..fa9a5c3e8 100644 --- a/aegisub/src/frame_main.cpp +++ b/aegisub/src/frame_main.cpp @@ -241,6 +241,8 @@ void FrameMain::cmd_call(wxCommandEvent& event) { LOG_D("event/select") << "Id: " << id; if (id < cmd::count()) cmd::call(context.get(), id); + else if (id >= ID_MENU_AUTOMATION_MACRO) + OnAutomationMacro(event); } /// @brief Initialize toolbar