Skip to content

Commit 7b2f688

Browse files
committed
Reset the timer when leaving the Fades submenu
This shouldn't actually affect anything at this time, but it should be reset anyway, since other submenus use it to display certain things.
1 parent 51f5a5f commit 7b2f688

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ttyd-tools/rel/source/menu.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,7 @@ void menuCheckButton()
774774
case B:
775775
{
776776
// Go back to the previous menu
777+
MenuVar.Timer = 0;
777778
MenuVar.FunctionReturnCode = 0;
778779
MenuVar.MenuSelectedOption = 0;
779780
enterPreviousMenu();

0 commit comments

Comments
 (0)