From 6d56cc0696faccf68b6cb0c0b6d71c62d97f6e6d Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sat, 6 Apr 2013 22:13:47 +0200 Subject: [PATCH] revert commit f4ae5e17ce00575de61daba517f37a4bb9252836 --- src/gui/channellist.cpp | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index f6717c507..fc643812f 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -754,21 +754,11 @@ int CChannelList::show() if(bouquetList->Bouquets[nNext]->channelList->isEmpty() ) { found = false; nNext = (nNext + b_size + dir) % b_size; - if(msg == (neutrino_msg_t)g_settings.key_bouquet_down){ - for (int i = nNext; i > 0; i--) { - if( !bouquetList->Bouquets[i]->channelList->isEmpty() ) { - found = true; - nNext = i; - break; - } - } - }else{ - for (int i = nNext; i < b_size; i++) { - if( !bouquetList->Bouquets[i]->channelList->isEmpty() ) { - found = true; - nNext = i; - break; - } + for (int i = nNext; i < b_size; i++) { + if( !bouquetList->Bouquets[i]->channelList->isEmpty() ) { + found = true; + nNext = i; + break; } } }