[Horus] Was it removed intentionnally?
This commit is contained in:
@@ -32,7 +32,7 @@ void onCustomFunctionsFileSelectionMenu(const char * result)
|
|||||||
int sub = menuVerticalPosition;
|
int sub = menuVerticalPosition;
|
||||||
CustomFunctionData * cf;
|
CustomFunctionData * cf;
|
||||||
uint8_t eeFlags;
|
uint8_t eeFlags;
|
||||||
|
|
||||||
if (menuHandlers[menuLevel] == menuModelCustomFunctions) {
|
if (menuHandlers[menuLevel] == menuModelCustomFunctions) {
|
||||||
cf = &g_model.customFn[sub];
|
cf = &g_model.customFn[sub];
|
||||||
eeFlags = EE_MODEL;
|
eeFlags = EE_MODEL;
|
||||||
@@ -60,7 +60,7 @@ void onCustomFunctionsFileSelectionMenu(const char * result)
|
|||||||
else {
|
else {
|
||||||
// The user choosed a file in the list
|
// The user choosed a file in the list
|
||||||
memcpy(cf->play.name, result, sizeof(cf->play.name));
|
memcpy(cf->play.name, result, sizeof(cf->play.name));
|
||||||
storageDirty(EE_MODEL);
|
storageDirty(eeFlags);
|
||||||
if (func == FUNC_PLAY_SCRIPT) {
|
if (func == FUNC_PLAY_SCRIPT) {
|
||||||
LUA_LOAD_MODEL_SCRIPTS();
|
LUA_LOAD_MODEL_SCRIPTS();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user