mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
gui/scan_setup.cpp: do not add satellites to select from disabled frontend;
add intro items for scan menu not dependent on wizard mode:
after wizard mode disabled, code add one more item (subhead), and saved
selected invalidated, as result ie no selected item at all
Origin commit data
------------------
Commit: 70725b323b
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-05 (Tue, 05 Nov 2013)
This commit is contained in:
@@ -374,11 +374,11 @@ int CScanSetup::showScanMenu()
|
||||
allow_start = !CRecordManager::getInstance()->RecordingStatus() || CRecordManager::getInstance()->TimeshiftOnly();
|
||||
|
||||
//main
|
||||
CMenuWidget * settings = new CMenuWidget(is_wizard ? LOCALE_SERVICEMENU_SCANTS : LOCALE_SERVICEMENU_HEAD, NEUTRINO_ICON_SETTINGS, width, MN_WIDGET_ID_SCAN_MAIN);
|
||||
CMenuWidget * settings = new CMenuWidget(/*is_wizard ? LOCALE_SERVICEMENU_SCANTS :*/ LOCALE_SERVICEMENU_HEAD, NEUTRINO_ICON_SETTINGS, width, MN_WIDGET_ID_SCAN_MAIN);
|
||||
settings->setWizardMode(is_wizard);
|
||||
|
||||
//back
|
||||
settings->addIntroItems(is_wizard ? NONEXISTANT_LOCALE : LOCALE_SERVICEMENU_SCANTS);
|
||||
settings->addIntroItems(/*is_wizard ? NONEXISTANT_LOCALE : */ LOCALE_SERVICEMENU_SCANTS);
|
||||
//----------------------------------------------------------------------
|
||||
#if 0
|
||||
//save scan settings
|
||||
@@ -877,7 +877,7 @@ void CScanSetup::fillSatSelect(CMenuOptionStringChooser * select)
|
||||
for(int i = 0; i < count; i++) {
|
||||
CFrontend * fe = CFEManager::getInstance()->getFE(i);
|
||||
|
||||
if (fe->getInfo()->type != FE_QPSK)
|
||||
if ((fe->getInfo()->type != FE_QPSK) || (fe->getMode() == CFrontend::FE_MODE_UNUSED))
|
||||
continue;
|
||||
|
||||
satellite_map_t & satmap = fe->getSatellites();
|
||||
|
Reference in New Issue
Block a user