mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
src/gui/epgplus.cpp: add missing home handling
Window was not closed with exit button.
Origin commit data
------------------
Commit: 59a9572535
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-05-08 (Tue, 08 May 2018)
This commit is contained in:
@@ -112,7 +112,7 @@ void EpgPlus::Header::paint(const char * Name)
|
|||||||
if (this->head == NULL)
|
if (this->head == NULL)
|
||||||
{
|
{
|
||||||
this->head = new CComponentsHeader();
|
this->head = new CComponentsHeader();
|
||||||
this->head->setContextButton(CComponentsHeader::CC_BTN_HELP);
|
this->head->setContextButton(CComponentsHeader::CC_BTN_HELP | CComponentsHeader::CC_BTN_EXIT);
|
||||||
this->head->enableClock(true, "%H:%M", "%H %M", true);
|
this->head->enableClock(true, "%H:%M", "%H %M", true);
|
||||||
this->head->enableShadow(CC_SHADOW_RIGHT | CC_SHADOW_CORNER_TOP_RIGHT | CC_SHADOW_CORNER_BOTTOM_RIGHT, -1, true);
|
this->head->enableShadow(CC_SHADOW_RIGHT | CC_SHADOW_CORNER_TOP_RIGHT | CC_SHADOW_CORNER_BOTTOM_RIGHT, -1, true);
|
||||||
|
|
||||||
@@ -1316,6 +1316,11 @@ int EpgPlus::exec(CChannelList * pchannelList, int selectedChannelIndex, CBouque
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (msg == CRCInput::RC_home)
|
||||||
|
{
|
||||||
|
loop = false;
|
||||||
|
res = menu_return::RETURN_EXIT_ALL;
|
||||||
|
}
|
||||||
else if (CNeutrinoApp::getInstance()->listModeKey(msg))
|
else if (CNeutrinoApp::getInstance()->listModeKey(msg))
|
||||||
{
|
{
|
||||||
g_RCInput->postMsg(msg, 0);
|
g_RCInput->postMsg(msg, 0);
|
||||||
|
Reference in New Issue
Block a user