- bouqueteditor: some more timeout-fixes

This commit is contained in:
svenhoefer
2017-09-27 11:50:47 +02:00
committed by Jacek Jendrzej
parent 1deaebf1cf
commit c00013ea52
3 changed files with 5 additions and 1 deletions

View File

@@ -362,6 +362,8 @@ int CBEBouquetWidget::exec(CMenuTarget* parent, const std::string & /*actionKey*
paintBody(); paintBody();
paintFoot(); paintFoot();
paintItems(); paintItems();
timeoutEnd = CRCInput::calcTimeoutEnd(timeout == 0 ? 0xFFFF : timeout);
} }
} }
else if (state == beMoving) else if (state == beMoving)

View File

@@ -356,6 +356,8 @@ int CBEChannelWidget::exec(CMenuTarget* parent, const std::string & /*actionKey*
{ {
if (state == beDefault) if (state == beDefault)
addChannel(); addChannel();
timeoutEnd = CRCInput::calcTimeoutEnd(timeout == 0 ? 0xFFFF : timeout);
} }
else if (msg == CRCInput::RC_yellow) else if (msg == CRCInput::RC_yellow)
{ {

View File

@@ -326,7 +326,7 @@ int CBEChannelSelectWidget::exec(CMenuTarget* parent, const std::string & /*acti
if (msg <= CRCInput::RC_MaxRC) if (msg <= CRCInput::RC_MaxRC)
timeoutEnd = CRCInput::calcTimeoutEnd(timeout == 0 ? 0xFFFF : timeout); timeoutEnd = CRCInput::calcTimeoutEnd(timeout == 0 ? 0xFFFF : timeout);
if ((msg == (neutrino_msg_t)g_settings.key_channelList_cancel) || (msg == CRCInput::RC_home)) if ((msg == CRCInput::RC_timeout) || (msg == (neutrino_msg_t)g_settings.key_channelList_cancel) || (msg == CRCInput::RC_home))
{ {
loop = false; loop = false;
} }