added playing score tape on high score screen by pressing "return" key
authorHolger Schemel <info@artsoft.org>
Fri, 5 Apr 2024 16:18:52 +0000 (18:18 +0200)
committerHolger Schemel <info@artsoft.org>
Fri, 5 Apr 2024 16:18:54 +0000 (18:18 +0200)
src/screens.c

index a146ba6113f4310d0ae0390dc8f0cbc15272f394..d500d7919fa6ed964cb0646870e2bcb9523a84c4 100644 (file)
@@ -10551,7 +10551,7 @@ static void HandleScreenGadgets(struct GadgetInfo *gi)
 
 void HandleScreenGadgetKeys(Key key)
 {
-  if (key == setup.shortcut.tape_play)
+  if (key == setup.shortcut.tape_play || key == KSYM_Return)
     HandleScreenGadgets(screen_gadget[SCREEN_CTRL_ID_PLAY_TAPE]);
 }