From 28352bcc5245e17d6918771356b92bc2460b4ccb Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Sat, 21 Apr 2012 16:52:02 +0400 Subject: [PATCH] gui/channellist.cpp: fix last change in setSelected - always set tuned --- src/gui/channellist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 97fa9abcc..4c44f7bad 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -1028,9 +1028,9 @@ void CChannelList::setSelected( int nChannelNr) //printf("CChannelList::setSelected me %s %d -> %s\n", name.c_str(), nChannelNr, (nChannelNr < chanlist.size() && chanlist[nChannelNr] != NULL) ? chanlist[nChannelNr]->getName().c_str() : "********* NONE *********"); //FIXME real difference between tuned and selected ?! selected_chid = 0; + tuned = nChannelNr; if (nChannelNr < (int) chanlist.size()) { selected = nChannelNr; - tuned = nChannelNr; selected_chid = chanlist[tuned]->getChannelID(); } }