Message Timeouts: add possibilty to change timeout for static messages

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2016-12-01 22:04:40 +01:00
committed by Thilo Graf
parent 47ffc7586a
commit 9607957e07
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);