system/setting_helpers.cpp: workaround for factory reset, clear sat list

This commit is contained in:
[CST] Focus
2012-05-22 11:47:35 +04:00
parent 29fc5f5651
commit 5c85eced31

View File

@@ -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);