fixed bug in setup menu

This commit is contained in:
louis 2014-05-10 12:57:31 +02:00
parent f1587ee56e
commit ea862b36b2

10
setup.c
View File

@ -50,19 +50,19 @@ eOSState cScraper2VdrSetup::ProcessKey(eKeys Key) {
tmpConfig.mysqlDBUser = user; tmpConfig.mysqlDBUser = user;
tmpConfig.mysqlDBPass = password; tmpConfig.mysqlDBPass = password;
Store(); Store();
if (Current() == 6) { if (Current() == 7) {
Skins.Message(mtInfo, tr("Updating Scraper EPG Information from Database")); Skins.Message(mtInfo, tr("Updating Scraper EPG Information from Database"));
update->ForceUpdate(); update->ForceUpdate();
} else if (Current() == 7) { } else if (Current() == 8) {
Skins.Message(mtInfo, tr("Updating Scraper Recordings Information from Database")); Skins.Message(mtInfo, tr("Updating Scraper Recordings Information from Database"));
update->ForceRecordingUpdate(); update->ForceRecordingUpdate();
} else if (Current() == 8) { } else if (Current() == 9) {
Skins.Message(mtInfo, tr("Scanning for new recordings in video directory")); Skins.Message(mtInfo, tr("Scanning for new recordings in video directory"));
update->ForceVideoDirUpdate(); update->ForceVideoDirUpdate();
} else if (Current() == 9) { } else if (Current() == 10 ) {
Skins.Message(mtInfo, tr("Scanning for new or updated scrapinfo files")); Skins.Message(mtInfo, tr("Scanning for new or updated scrapinfo files"));
update->ForceScrapInfoUpdate(); update->ForceScrapInfoUpdate();
} else if (Current() == 10) { } else if (Current() == 11) {
Skins.Message(mtInfo, tr("Cleaning up Recordings in Database")); Skins.Message(mtInfo, tr("Cleaning up Recordings in Database"));
update->TriggerCleanRecordingsDB(); update->TriggerCleanRecordingsDB();
} }