From caa9cd7e5d9b69c18f9fadc0edd29a996ace6941 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 29 Jul 2013 16:50:30 +0400 Subject: [PATCH] gui/channellist.cpp: fix selected after direct record Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/291a990be3805167afca4c64799783579f043bad Author: [CST] Focus Date: 2013-07-29 (Mon, 29 Jul 2013) --- src/gui/channellist.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 5d51750b8..17165f2ee 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -667,9 +667,10 @@ int CChannelList::show() if (!CRecordManager::getInstance()->Record(chanlist[selected]->channel_id)) { paintHead(); paint(); - } else + } else { + selected = oldselected; loop=false; - + } } } else if( msg == CRCInput::RC_stop ) { //stopp recording