Start cSuspendCtl hidden or it will prevent idle shutdown.

As long as a cControl is not hidden, cControl::Control() will return a value
and LastInteract is updated in the VDR main loop.
This commit is contained in:
Frank Schmirler
2013-07-16 13:12:20 +02:00
parent b25e53c867
commit d7652d89ca
3 changed files with 6 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ void cSuspendLive::Action(void) {
bool cSuspendCtl::m_Active = false;
cSuspendCtl::cSuspendCtl(void):
cControl(m_Suspend = new cSuspendLive) {
cControl(m_Suspend = new cSuspendLive, true) {
m_Active = true;
}