From 693b64afcb52467a33bcad741d092887b111aec0 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 22 May 2012 11:47:35 +0400 Subject: [PATCH] system/setting_helpers.cpp: workaround for factory reset, clear sat list Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/5c85eced31e16d4064d7aa0e5e4520ec5ef62991 Author: [CST] Focus Date: 2012-05-22 (Tue, 22 May 2012) --- src/system/setting_helpers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/system/setting_helpers.cpp b/src/system/setting_helpers.cpp index 2da98608e..5f3fa75e4 100644 --- a/src/system/setting_helpers.cpp +++ b/src/system/setting_helpers.cpp @@ -591,6 +591,7 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK if(delete_all) { system("rm -f /var/tuxbox/config/zapit/*.conf"); + CServiceManager::getInstance()->SatelliteList().clear(); CZapit::getInstance()->LoadSettings(); CZapit::getInstance()->GetConfig(zapitCfg); g_RCInput->postMsg( NeutrinoMessages::REBOOT, 0);