Softupdate: Fix filename for local update

This commit is contained in:
Michael Liebmann
2013-08-20 20:38:51 +02:00
parent 12910d1af3
commit 9b12442b5d
3 changed files with 5 additions and 3 deletions

View File

@@ -757,7 +757,8 @@ int CFlashExpert::exec(CMenuTarget* parent, const std::string & actionKey)
showFileSelector("");
} else {
if(selectedMTD == 10) {
CExtUpdate::getInstance()->applySettings(actionKey, CExtUpdate::MODE_EXPERT);
std::string aK = actionKey;
CExtUpdate::getInstance()->applySettings(aK, CExtUpdate::MODE_EXPERT);
}
else if(selectedMTD==-1) {
writemtd(actionKey, MTD_OF_WHOLE_IMAGE);