try to fix current channel after edit mode

Origin commit data
------------------
Branch: ni/coolstream
Commit: e7e158a273
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-05-17 (Tue, 17 May 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2016-05-17 14:11:59 +02:00
parent 6d03cb9e50
commit d37bcd1e75

View File

@@ -2667,7 +2667,9 @@ _repeat:
bouquets_changed = false;
channels_init = false;
t_channel_id live_channel_id = CZapit::getInstance()->GetCurrentChannelID();
t_channel_id live_channel_id = channelList->getActiveChannel_ChannelID();
if(!live_channel_id)
live_channel_id = CZapit::getInstance()->GetCurrentChannelID();
adjustToChannelID(live_channel_id);//FIXME what if deleted ?
delete hintBox;
}