mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
gui/scan_setup.cpp: fix 96b7d939ca
,
do not show tuner name in tuner select menu for easymenu mode
This commit is contained in:
@@ -537,11 +537,15 @@ int CScanSetup::showScanMenuFrontendSetup()
|
|||||||
snprintf(tmp, sizeof(tmp), "config_frontend%d", i);
|
snprintf(tmp, sizeof(tmp), "config_frontend%d", i);
|
||||||
|
|
||||||
char name[255];
|
char name[255];
|
||||||
if (fe->getInfo()->type == FE_QPSK)
|
if (g_settings.easymenu)
|
||||||
snprintf(name, sizeof(name), "%s %d: %s %s", g_Locale->getText(LOCALE_SATSETUP_FE_SETUP), i+1,
|
snprintf(name, sizeof(name), "%s %d: %s", g_Locale->getText(LOCALE_SATSETUP_FE_SETUP), i+1,
|
||||||
fe->getInfo()->type == FE_QPSK ? g_Locale->getText(LOCALE_SCANTS_ACTSATELLITE)
|
fe->getInfo()->type == FE_QPSK ? g_Locale->getText(LOCALE_SCANTS_ACTSATELLITE)
|
||||||
: g_Locale->getText(LOCALE_SCANTS_ACTCABLE),
|
: g_Locale->getText(LOCALE_SCANTS_ACTCABLE));
|
||||||
fe->getInfo()->name);
|
else
|
||||||
|
snprintf(name, sizeof(name), "%s %d: %s %s", g_Locale->getText(LOCALE_SATSETUP_FE_SETUP), i+1,
|
||||||
|
fe->getInfo()->type == FE_QPSK ? g_Locale->getText(LOCALE_SCANTS_ACTSATELLITE)
|
||||||
|
: g_Locale->getText(LOCALE_SCANTS_ACTCABLE),
|
||||||
|
fe->getInfo()->name);
|
||||||
|
|
||||||
const char * icon = NULL;
|
const char * icon = NULL;
|
||||||
neutrino_msg_t key = CRCInput::RC_nokey;
|
neutrino_msg_t key = CRCInput::RC_nokey;
|
||||||
|
Reference in New Issue
Block a user