reloadchannels: make sure that channel flags are updated when reloading

Origin commit data
------------------
Branch: ni/coolstream
Commit: 80c5185bbb
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-14 (Sun, 14 Apr 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2013-04-14 13:03:12 +02:00
parent e0e9bcdc27
commit 88f31b8a8d
2 changed files with 4 additions and 0 deletions

View File

@@ -282,6 +282,9 @@ int CScanSetup::exec(CMenuTarget* parent, const std::string &actionKey)
printf("[neutrino] CScanSetup::%s reloadchannels...\n", __FUNCTION__);
if (reloadhintBox)
reloadhintBox->paint();
/* save if changed, to make sure NEW/REMOVED/... flags are updated */
CServiceManager::getInstance()->SaveServices(true, true);
/* Z->reinitChannels triggers EVT_SERVICESCHANGED and this triggers channelsInit() */
g_Zapit->reinitChannels();
if (reloadhintBox)
reloadhintBox->hide();