From b7604664a4e373771669ca19f8ce70d4d7e4578e Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 28 Mar 2014 19:04:36 +0400 Subject: [PATCH] gui/bouquetlist.cpp: another fix for bouquet epg scan option :D --- src/gui/bouquetlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/bouquetlist.cpp b/src/gui/bouquetlist.cpp index d50b889ee..57c4e426a 100644 --- a/src/gui/bouquetlist.cpp +++ b/src/gui/bouquetlist.cpp @@ -295,7 +295,7 @@ int CBouquetList::doMenu() } else { 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; - 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->exec(NULL, "");