From f5182499b3e660d747efc5b7d32f040c49e9be1f Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 27 Jun 2014 18:26:13 +0200 Subject: [PATCH] osd_setup: don't show colored progress bar option in channellist ... ... when colored progress bar is disabled Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/88877671415414ebaaf3e2f9af602beb83a5cd96 Author: vanhofen Date: 2014-06-27 (Fri, 27 Jun 2014) Origin message was: ------------------ - osd_setup: don't show colored progress bar option in channellist ... ... when colored progress bar is disabled ------------------ This commit was generated by Migit --- src/gui/osd_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/osd_setup.cpp b/src/gui/osd_setup.cpp index ca613ba87..b226e98b8 100644 --- a/src/gui/osd_setup.cpp +++ b/src/gui/osd_setup.cpp @@ -941,7 +941,7 @@ void COsdSetup::showOsdChanlistSetup(CMenuWidget *menu_chanlist) menu_chanlist->addItem(mc); // extended channel list - mc = new CMenuOptionChooser(LOCALE_CHANNELLIST_EXTENDED, &g_settings.channellist_extended, CHANNELLIST_EXTENDED_OPTIONS, CHANNELLIST_EXTENDED_OPTIONS_COUNT, true); + mc = new CMenuOptionChooser(LOCALE_CHANNELLIST_EXTENDED, &g_settings.channellist_extended, CHANNELLIST_EXTENDED_OPTIONS, CHANNELLIST_EXTENDED_OPTIONS_COUNT - (g_settings.progressbar_color ? 0 : 1), true); mc->setHint("", LOCALE_MENU_HINT_CHANNELLIST_EXTENDED); menu_chanlist->addItem(mc);