diff options
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/gwps.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c index 714dfe8ee9..3defead099 100644 --- a/apps/gui/gwps.c +++ b/apps/gui/gwps.c | |||
@@ -618,7 +618,11 @@ long gui_wps_show(void) | |||
618 | update_track = true; | 618 | update_track = true; |
619 | ffwd_rew(button); /* hopefully fix the ffw/rwd bug */ | 619 | ffwd_rew(button); /* hopefully fix the ffw/rwd bug */ |
620 | break; | 620 | break; |
621 | 621 | #ifdef HAVE_RECORDING | |
622 | case ACTION_WPS_REC: | ||
623 | exit = true; | ||
624 | break; | ||
625 | #endif | ||
622 | case SYS_POWEROFF: | 626 | case SYS_POWEROFF: |
623 | bookmark_autobookmark(); | 627 | bookmark_autobookmark(); |
624 | #if LCD_DEPTH > 1 | 628 | #if LCD_DEPTH > 1 |
@@ -677,6 +681,10 @@ long gui_wps_show(void) | |||
677 | #ifdef AB_REPEAT_ENABLE | 681 | #ifdef AB_REPEAT_ENABLE |
678 | ab_reset_markers(); | 682 | ab_reset_markers(); |
679 | #endif | 683 | #endif |
684 | #ifdef HAVE_RECORDING | ||
685 | if (button == ACTION_WPS_REC) | ||
686 | return GO_TO_RECSCREEN; | ||
687 | #endif | ||
680 | if (global_settings.browse_current) | 688 | if (global_settings.browse_current) |
681 | return GO_TO_PREVIOUS_BROWSER; | 689 | return GO_TO_PREVIOUS_BROWSER; |
682 | return GO_TO_PREVIOUS; | 690 | return GO_TO_PREVIOUS; |