From de8262f03f47473af6bfd0476cfa5109e5323e8e Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 1 Nov 2013 09:08:58 +0400 Subject: [PATCH] gui/scan_setup.cpp: fix 96b7d939cad490fb223fa0106fe0c42b1459ae4c, do not show tuner name in tuner select menu for easymenu mode --- src/gui/scan_setup.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/gui/scan_setup.cpp b/src/gui/scan_setup.cpp index f9f563b64..dae229838 100644 --- a/src/gui/scan_setup.cpp +++ b/src/gui/scan_setup.cpp @@ -537,11 +537,15 @@ int CScanSetup::showScanMenuFrontendSetup() snprintf(tmp, sizeof(tmp), "config_frontend%d", i); char name[255]; - if (fe->getInfo()->type == FE_QPSK) - 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); + 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, + fe->getInfo()->type == FE_QPSK ? g_Locale->getText(LOCALE_SCANTS_ACTSATELLITE) + : g_Locale->getText(LOCALE_SCANTS_ACTCABLE), + fe->getInfo()->name); const char * icon = NULL; neutrino_msg_t key = CRCInput::RC_nokey;