mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
remove CURRENTSERVICES_XML after reload channels
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user