Message Timeouts: add possibilty to change timeout for static messages

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9607957e07
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-01 (Thu, 01 Dec 2016)



------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-12-01 22:04:40 +01:00
committed by Thilo Graf
parent 8dbecf4980
commit 48cc63df9e
5 changed files with 7 additions and 2 deletions

View File

@@ -238,7 +238,7 @@ int CMsgBox::exec()
ccw_footer->getSelectedButtonObject()->setButtonAlias(mb_show_button);
int selected = ccw_footer->getSelectedButton();
if (timeout == NO_TIMEOUT)
timeout = 0;
timeout = MSGBOX_DEFAULT_TIMEOUT;
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(timeout);