Disable MixerScriptsPage if both required flags are not set (#879)
* Disable MixerScriptsPage for 2.5 release builds Since it doesn't work anyway without LUA=Y * Only enable tab when both flags set
This commit is contained in:
committed by
Peter Feerick
parent
8bb10178d9
commit
7d215dd809
@@ -49,7 +49,7 @@ ModelMenu::ModelMenu():
|
||||
addTab(new ModelGVarsPage());
|
||||
addTab(new ModelLogicalSwitchesPage());
|
||||
addTab(new SpecialFunctionsPage(g_model.customFn));
|
||||
#if defined(LUA)
|
||||
#if defined(LUA) && defined(LUA_MODEL_SCRIPTS)
|
||||
addTab(new ModelMixerScriptsPage());
|
||||
#endif
|
||||
addTab(new ModelTelemetryPage());
|
||||
|
||||
Reference in New Issue
Block a user