mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
neutrino scan_setup: fix double entries in satlist
It was necessary to clean satlist in 'addScanMenuAutoScanAll()',
because of multiple generated options in satlist,
This ensures that we have a clean list before we add new options.
thx SatBaby for hint
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1497 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 82be0b9f10
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-05-28 (Sat, 28 May 2011)
Origin message was:
------------------
*neutrino scan_setup: fix double entries in satlist
It was necessary to clean satlist in 'addScanMenuAutoScanAll()',
because of multiple generated options in satlist,
This ensures that we have a clean list before we add new options.
thx SatBaby for hint
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1497 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -642,6 +642,9 @@ void CScanSetup::addScanMenuAutoScanAll(CMenuWidget *auto_ScanAll)
|
||||
CMenuWidget* satInUse = new CMenuWidget(satprov_locale, NEUTRINO_ICON_SETTINGS, width);
|
||||
satInUse->addIntroItems();
|
||||
|
||||
//ensure, that we have no double options in satlist
|
||||
satSelect->removeOptions();
|
||||
|
||||
for (sit = satellitePositions.begin(); sit != satellitePositions.end(); sit++)
|
||||
{
|
||||
/* printf("Adding sat menu for %s position %d\n", sit->second.name.c_str(), sit->first); */
|
||||
|
Reference in New Issue
Block a user