CMsgBox: ensure reset of progress value on used key

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3280b44471
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-17 (Mon, 17 Oct 2016)


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

------------------
This commit was generated by Migit
This commit is contained in:
2016-10-17 21:08:31 +02:00
parent ee05a632c2
commit 6380202ff4

View File

@@ -271,8 +271,10 @@ int CMsgBox::exec()
refreshFoot();
//refresh timeout on any pressed navi key! This resets current timeout end to the initial value
if (timeout > 0)
if (timeout > 0){
timeout_pb->setValues(0, timeout);
timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
}
dprintf(DEBUG_INFO, "\033[32m[CMsgBox] [%s - %d] result = %d, mb_show_button = %d\033[0m\n", __func__, __LINE__, result, mb_show_button);
}
//***action buttons without preselection***