From 27665774df70a40e56e46e4eb455c931c94a4f18 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 14 Apr 2013 19:41:08 +0200 Subject: [PATCH] setting_helpers: add reloadhintbox to 'delete removed channels' Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/e868be4f1425b0504f0d95aedefd2e8352ace8f6 Author: Stefan Seyfried Date: 2013-04-14 (Sun, 14 Apr 2013) --- src/system/setting_helpers.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/system/setting_helpers.cpp b/src/system/setting_helpers.cpp index 6f8b6d902..38efa967b 100644 --- a/src/system/setting_helpers.cpp +++ b/src/system/setting_helpers.cpp @@ -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) @@ -496,7 +498,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;