gui/scan_setup.cpp: fix 96b7d939ca,

do not show tuner name in tuner select menu for easymenu mode
This commit is contained in:
[CST] Focus
2013-11-01 09:08:58 +04:00
parent 694714b73e
commit de8262f03f

View File

@@ -537,7 +537,11 @@ 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", 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));
else
snprintf(name, sizeof(name), "%s %d: %s %s", g_Locale->getText(LOCALE_SATSETUP_FE_SETUP), i+1, 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) fe->getInfo()->type == FE_QPSK ? g_Locale->getText(LOCALE_SCANTS_ACTSATELLITE)
: g_Locale->getText(LOCALE_SCANTS_ACTCABLE), : g_Locale->getText(LOCALE_SCANTS_ACTCABLE),