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")