From 7b40b61c9af2d7ba56e0809262fab87a2ca8994e Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sat, 18 Jan 2014 21:02:23 +0100 Subject: [PATCH] remove CURRENTSERVICES_XML after reload channels --- src/gui/scan_setup.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gui/scan_setup.cpp b/src/gui/scan_setup.cpp index 3cc6ccd67..638956ef3 100644 --- a/src/gui/scan_setup.cpp +++ b/src/gui/scan_setup.cpp @@ -33,6 +33,8 @@ #include #endif +#include + #include #include #include @@ -259,6 +261,9 @@ int CScanSetup::exec(CMenuTarget* parent, const std::string &actionKey) if (reloadhintBox) reloadhintBox->hide(); CNeutrinoApp::getInstance ()->SDTreloadChannels = false; + if(file_exists(CURRENTSERVICES_XML)){ + unlink(CURRENTSERVICES_XML); + } return res; } else if(actionKey == "satsetup")