mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CMsgBox: ensure reset of progress value on used key
This commit is contained in:
@@ -271,8 +271,10 @@ int CMsgBox::exec()
|
|||||||
refreshFoot();
|
refreshFoot();
|
||||||
|
|
||||||
//refresh timeout on any pressed navi key! This resets current timeout end to the initial value
|
//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);
|
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);
|
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***
|
//***action buttons without preselection***
|
||||||
|
Reference in New Issue
Block a user