mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
gui/channellist.cpp: bugfix, reset selected chid in setSelected
Origin commit data
------------------
Branch: ni/coolstream
Commit: 70371b93a9
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-03-19 (Mon, 19 Mar 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1115,6 +1115,10 @@ void CChannelList::setSelected( int nChannelNr)
|
||||
selected = nChannelNr;
|
||||
//FIXME real difference between tuned and selected ?!
|
||||
tuned = nChannelNr;
|
||||
if(tuned < chanlist.size())
|
||||
selected_chid = chanlist[tuned]->getChannelID();
|
||||
else
|
||||
selected_chid = 0;
|
||||
}
|
||||
|
||||
// -- Zap to channel with channel_id
|
||||
|
Reference in New Issue
Block a user