setting_helpers: add reloadhintbox to 'delete removed channels'

This commit is contained in:
Stefan Seyfried
2013-04-14 19:41:08 +02:00
committed by [CST] Focus
parent 268c5b84e9
commit 676ef79dca

View File

@@ -82,6 +82,8 @@ extern cDemux *videoDemux;
extern cDemux *audioDemux;
extern cDemux *pcrDemux;
extern CHintBox *reloadhintBox;
extern "C" int pinghost( const char *hostname );
COnOffNotifier::COnOffNotifier(int OffValue)
@@ -495,7 +497,11 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK
g_Zapit->reinitChannels();
}
if (delete_removed) {
if (reloadhintBox)
reloadhintBox->paint();
CServiceManager::getInstance()->SaveServices(true, false, true);
if (reloadhintBox)
reloadhintBox->hide(); /* reinitChannels also triggers a reloadhintbox */
g_Zapit->reinitChannels();
}
return ret;