CTimerList: Fix commit 5503a94 (THX Houdini)

Origin commit data
------------------
Commit: a60d320aad
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-01 (Sat, 01 Feb 2014)
This commit is contained in:
Michael Liebmann
2014-02-01 01:51:03 +01:00
parent ff76728960
commit db6fa1f5eb

View File

@@ -1223,7 +1223,11 @@ int CTimerList::newTimer()
CMenuForwarder *m9 = new CMenuForwarder(LOCALE_TIMERLIST_MESSAGE, false, timerNew.message, &timerSettings_msg ); CMenuForwarder *m9 = new CMenuForwarder(LOCALE_TIMERLIST_MESSAGE, false, timerNew.message, &timerSettings_msg );
strcpy(timerNew.pluginName,"---"); 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); CMenuForwarder *m10 = new CMenuForwarder(LOCALE_TIMERLIST_PLUGIN, false, timerNew.pluginName, &plugin_chooser);