Skip to content

Commit 152cca2

Browse files
authored
Disable MixerScriptsPage of 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
1 parent 6656217 commit 152cca2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

radio/src/gui/colorlcd/menu_model.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ ModelMenu::ModelMenu():
4848
addTab(new ModelGVarsPage());
4949
addTab(new ModelLogicalSwitchesPage());
5050
addTab(new SpecialFunctionsPage(g_model.customFn));
51-
#if defined(LUA)
51+
#if defined(LUA) && defined(LUA_MODEL_SCRIPTS)
5252
addTab(new ModelMixerScriptsPage());
5353
#endif
5454
addTab(new ModelTelemetryPage());

0 commit comments

Comments
 (0)