mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- adzap: update monitorLifeTime before leaving in case event has changed
This commit is contained in:
@@ -232,6 +232,9 @@ int CAdZapMenu::exec(CMenuTarget *parent, const std::string & actionKey)
|
|||||||
armed = false;
|
armed = false;
|
||||||
monitor = true;
|
monitor = true;
|
||||||
alerted = false;
|
alerted = false;
|
||||||
|
if (!evtlist.empty())
|
||||||
|
monitorLifeTime.tv_sec = getMonitorLifeTime();
|
||||||
|
printf("CAdZapMenu::%s: monitorLifeTime.tv_sec: %d\n", __func__, (uint) monitorLifeTime.tv_sec);
|
||||||
Update();
|
Update();
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user