From 676ef79dca08c44d25d2e2005ff6e60f9ab57505 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' --- 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 11db59364..2470b6fe7 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) @@ -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;