remove CURRENTSERVICES_XML after reload channels

This commit is contained in:
Jacek Jendrzej
2014-01-18 21:02:23 +01:00
parent 59b3245680
commit 7b40b61c9a

View File

@@ -33,6 +33,8 @@
#include <config.h>
#endif
#include <unistd.h>
#include <global.h>
#include <neutrino.h>
#include <mymenu.h>
@@ -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")