Call the callbacks when loading from SD

This commit is contained in:
Maschell 2019-02-07 13:01:45 +01:00
parent 8eaf9cc026
commit 6e612de817

View File

@ -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();
} }
} }
} }