mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
gui/bouquetlist.cpp: fix crash
Origin commit data
------------------
Commit: 6934981f30
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-03-28 (Fri, 28 Mar 2014)
This commit is contained in:
@@ -294,9 +294,11 @@ int CBouquetList::doMenu()
|
|||||||
return -1;
|
return -1;
|
||||||
} 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 ++);
|
||||||
bool old_epg = zapitBouquet->bScanEpg;
|
bool old_epg;
|
||||||
if (zapitBouquet && (g_settings.epg_scan == CEpgScan::SCAN_SEL))
|
if (zapitBouquet && (g_settings.epg_scan == CEpgScan::SCAN_SEL)) {
|
||||||
|
old_epg = zapitBouquet->bScanEpg;
|
||||||
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, "");
|
||||||
delete menu;
|
delete menu;
|
||||||
|
Reference in New Issue
Block a user