mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
gui/channellist.cpp: bugfix, reset selected chid in setSelected
This commit is contained in:
@@ -1115,6 +1115,10 @@ void CChannelList::setSelected( int nChannelNr)
|
|||||||
selected = nChannelNr;
|
selected = nChannelNr;
|
||||||
//FIXME real difference between tuned and selected ?!
|
//FIXME real difference between tuned and selected ?!
|
||||||
tuned = nChannelNr;
|
tuned = nChannelNr;
|
||||||
|
if(tuned < chanlist.size())
|
||||||
|
selected_chid = chanlist[tuned]->getChannelID();
|
||||||
|
else
|
||||||
|
selected_chid = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// -- Zap to channel with channel_id
|
// -- Zap to channel with channel_id
|
||||||
|
Reference in New Issue
Block a user