From e5e653b41774721c69c14864d240023610ab4018 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 ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/291a990be3805167afca4c64799783579f043bad Author: [CST] Focus Date: 2013-07-29 (Mon, 29 Jul 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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