No "Execute" function if LUA not defined on Horus

This commit is contained in:
Bertrand Songis
2020-02-17 15:01:39 +01:00
parent e8ccd39113
commit c2e5e4f566
@@ -337,9 +337,11 @@ bool menuRadioSdManager(event_t _event)
}
#endif
#if defined(LUA)
if (isExtensionMatching(ext, SCRIPTS_EXT)) {
POPUP_MENU_ADD_ITEM(STR_EXECUTE_FILE);
}
#endif
if (isExtensionMatching(ext, TEXT_EXT) || isExtensionMatching(ext, SCRIPTS_EXT)) {
POPUP_MENU_ADD_ITEM(STR_VIEW_TEXT);