mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
gui/channellist.cpp: fix last change in setSelected - always set tuned
Origin commit data
------------------
Branch: ni/coolstream
Commit: 28352bcc52
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-21 (Sat, 21 Apr 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user