From d37bcd1e751c5f39671245877e5cd772c92803fb Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Tue, 17 May 2016 14:11:59 +0200 Subject: [PATCH] try to fix current channel after edit mode Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/e7e158a2739344ff37849e7f7b025bcbb9eb35db Author: Jacek Jendrzej Date: 2016-05-17 (Tue, 17 May 2016) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/neutrino.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 7475b55a6..d0377ab1f 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -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; }