summaryrefslogtreecommitdiff
path: root/apps/gui/gwps.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/gwps.c')
-rw-r--r--apps/gui/gwps.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c
index eb1437c910..154864a280 100644
--- a/apps/gui/gwps.c
+++ b/apps/gui/gwps.c
@@ -65,6 +65,7 @@
65#include "pcmbuf.h" 65#include "pcmbuf.h"
66#include "option_select.h" 66#include "option_select.h"
67#include "dsp.h" 67#include "dsp.h"
68#include "playlist_viewer.h"
68 69
69#define RESTORE_WPS_INSTANTLY 0l 70#define RESTORE_WPS_INSTANTLY 0l
70#define RESTORE_WPS_NEXT_SECOND ((long)(HZ+current_tick)) 71#define RESTORE_WPS_NEXT_SECOND ((long)(HZ+current_tick))
@@ -786,7 +787,12 @@ long gui_wps_show(void)
786 case SYS_POWEROFF: 787 case SYS_POWEROFF:
787 default_event_handler(SYS_POWEROFF); 788 default_event_handler(SYS_POWEROFF);
788 break; 789 break;
789 790 case ACTION_WPS_VIEW_PLAYLIST:
791 gwps_leave_wps();
792 if (playlist_viewer()) /* true if USB connected */
793 return SYS_USB_CONNECTED;
794 restore = true;
795 break;
790 default: 796 default:
791 if(default_event_handler(button) == SYS_USB_CONNECTED) 797 if(default_event_handler(button) == SYS_USB_CONNECTED)
792 return GO_TO_ROOT; 798 return GO_TO_ROOT;