Call the callbacks when loading from SD
This commit is contained in:
parent
8eaf9cc026
commit
ad759ff269
|
@ -82,7 +82,7 @@ bool ConfigInformation::loadValuesFromSD() {
|
||||||
if(prevValue.compare(loadedValue) != 0) {
|
if(prevValue.compare(loadedValue) != 0) {
|
||||||
//DEBUG_FUNCTION_LINE("Call loadValue\n");
|
//DEBUG_FUNCTION_LINE("Call loadValue\n");
|
||||||
curItem->loadValue(loadedValue);
|
curItem->loadValue(loadedValue);
|
||||||
// calling the callback here is _NOT_ needed. It will be called when the menu is closed.
|
curItem->callCallback();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue