From a60d320aad0416ac5f63628bd3de5b889fcf1567 Mon Sep 17 00:00:00 2001 From: "M. Liebmann" Date: Sat, 1 Feb 2014 01:51:03 +0100 Subject: [PATCH] CTimerList: Fix commit f2fccc6 (THX Houdini) --- src/gui/timerlist.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gui/timerlist.cpp b/src/gui/timerlist.cpp index 3db880fe1..ee78b7b10 100644 --- a/src/gui/timerlist.cpp +++ b/src/gui/timerlist.cpp @@ -1223,7 +1223,11 @@ int CTimerList::newTimer() CMenuForwarder *m9 = new CMenuForwarder(LOCALE_TIMERLIST_MESSAGE, false, timerNew.message, &timerSettings_msg ); strcpy(timerNew.pluginName,"---"); - CPluginChooser plugin_chooser(LOCALE_TIMERLIST_PLUGIN, CPlugins::P_TYPE_SCRIPT | CPlugins::P_TYPE_TOOL | CPlugins::P_TYPE_LUA, timerNew.pluginName); + CPluginChooser plugin_chooser(LOCALE_TIMERLIST_PLUGIN, CPlugins::P_TYPE_SCRIPT | CPlugins::P_TYPE_TOOL +#if ENABLE_LUA + | CPlugins::P_TYPE_LUA +#endif + , timerNew.pluginName); CMenuForwarder *m10 = new CMenuForwarder(LOCALE_TIMERLIST_PLUGIN, false, timerNew.pluginName, &plugin_chooser);