gui/bouquetlist.cpp: another fix for bouquet epg scan option :D

This commit is contained in:
[CST] Focus
2014-03-28 19:04:36 +04:00
parent eb1ef76495
commit b7604664a4

View File

@@ -295,7 +295,7 @@ int CBouquetList::doMenu()
} else { } else {
menu->addItem(new CMenuForwarder(LOCALE_BOUQUETEDITOR_DELETE, true, NULL, selector, cnt, CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED), old_selected == i ++); menu->addItem(new CMenuForwarder(LOCALE_BOUQUETEDITOR_DELETE, true, NULL, selector, cnt, CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED), old_selected == i ++);
int old_epg = zapitBouquet ? zapitBouquet->bScanEpg : 0; int old_epg = zapitBouquet ? zapitBouquet->bScanEpg : 0;
if (g_settings.epg_scan == CEpgScan::SCAN_SEL) if (zapitBouquet && (g_settings.epg_scan == CEpgScan::SCAN_SEL))
menu->addItem(new CMenuOptionChooser(LOCALE_MISCSETTINGS_EPG_SCAN, &zapitBouquet->bScanEpg, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true)); menu->addItem(new CMenuOptionChooser(LOCALE_MISCSETTINGS_EPG_SCAN, &zapitBouquet->bScanEpg, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true));
menu->exec(NULL, ""); menu->exec(NULL, "");