mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
setting_helpers: add reloadhintbox to 'delete removed channels'
Origin commit data
------------------
Commit: 676ef79dca
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-14 (Sun, 14 Apr 2013)
This commit is contained in:
committed by
[CST] Focus
parent
c6d32100f1
commit
735c61ccde
@@ -82,6 +82,8 @@ extern cDemux *videoDemux;
|
|||||||
extern cDemux *audioDemux;
|
extern cDemux *audioDemux;
|
||||||
extern cDemux *pcrDemux;
|
extern cDemux *pcrDemux;
|
||||||
|
|
||||||
|
extern CHintBox *reloadhintBox;
|
||||||
|
|
||||||
extern "C" int pinghost( const char *hostname );
|
extern "C" int pinghost( const char *hostname );
|
||||||
|
|
||||||
COnOffNotifier::COnOffNotifier(int OffValue)
|
COnOffNotifier::COnOffNotifier(int OffValue)
|
||||||
@@ -495,7 +497,11 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK
|
|||||||
g_Zapit->reinitChannels();
|
g_Zapit->reinitChannels();
|
||||||
}
|
}
|
||||||
if (delete_removed) {
|
if (delete_removed) {
|
||||||
|
if (reloadhintBox)
|
||||||
|
reloadhintBox->paint();
|
||||||
CServiceManager::getInstance()->SaveServices(true, false, true);
|
CServiceManager::getInstance()->SaveServices(true, false, true);
|
||||||
|
if (reloadhintBox)
|
||||||
|
reloadhintBox->hide(); /* reinitChannels also triggers a reloadhintbox */
|
||||||
g_Zapit->reinitChannels();
|
g_Zapit->reinitChannels();
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user