mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
update: preselect first found update
Origin commit data
------------------
Commit: 358afec047
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-11-29 (Thu, 29 Nov 2018)
Origin message was:
------------------
- update: preselect first found update
This commit is contained in:
@@ -324,7 +324,7 @@ bool CFlashUpdate::selectHttpImage(void)
|
|||||||
CUpdateMenuTarget * up = new CUpdateMenuTarget(i, &selected);
|
CUpdateMenuTarget * up = new CUpdateMenuTarget(i, &selected);
|
||||||
mf = new CMenuDForwarder(descriptions[i].c_str(), enabled, names[i].c_str(), up);
|
mf = new CMenuDForwarder(descriptions[i].c_str(), enabled, names[i].c_str(), up);
|
||||||
//TODO mf->setHint(NEUTRINO_ICON_HINT_SW_UPDATE, "");
|
//TODO mf->setHint(NEUTRINO_ICON_HINT_SW_UPDATE, "");
|
||||||
SelectionWidget.addItem(mf);
|
SelectionWidget.addItem(mf, i == 0); // first entry is preselected
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user