fix(radio): refresh Lua scripts if needed when SF/GF updated (#4623)

This commit is contained in:
philmoz
2024-02-11 09:21:09 +10:00
committed by GitHub
parent 5decefd4a2
commit d6750716c7
2 changed files with 17 additions and 7 deletions
@@ -443,6 +443,9 @@ void menuSpecialFunctions(event_t event, CustomFunctionData * functions, CustomF
attr);
if (active)
CFN_ACTIVE(cfn) = checkIncDec(event, CFN_ACTIVE(cfn), 0, 1, eeFlags);
if (checkIncDec_Ret && (func == FUNC_PLAY_SCRIPT)) {
LUA_LOAD_MODEL_SCRIPTS();
}
break;
}
}