adzap: update monitorLifeTime before leaving in case event has changed

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3cee9eeb6e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-28 (Sun, 28 Feb 2016)

Origin message was:
------------------
- adzap: update monitorLifeTime before leaving in case event has changed

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-02-28 23:09:44 +01:00
parent c9f9ddca74
commit 819fbda50c

View File

@@ -232,6 +232,9 @@ int CAdZapMenu::exec(CMenuTarget *parent, const std::string & actionKey)
armed = false;
monitor = true;
alerted = false;
if (!evtlist.empty())
monitorLifeTime.tv_sec = getMonitorLifeTime();
printf("CAdZapMenu::%s: monitorLifeTime.tv_sec: %d\n", __func__, (uint) monitorLifeTime.tv_sec);
Update();
return res;
}