summaryrefslogtreecommitdiffstats
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 @@
#include "pcmbuf.h"
#include "option_select.h"
#include "dsp.h"
+#include "playlist_viewer.h"
#define RESTORE_WPS_INSTANTLY 0l
#define RESTORE_WPS_NEXT_SECOND ((long)(HZ+current_tick))
@@ -786,7 +787,12 @@ long gui_wps_show(void)
case SYS_POWEROFF:
default_event_handler(SYS_POWEROFF);
break;
-
+ case ACTION_WPS_VIEW_PLAYLIST:
+ gwps_leave_wps();
+ if (playlist_viewer()) /* true if USB connected */
+ return SYS_USB_CONNECTED;
+ restore = true;
+ break;
default:
if(default_event_handler(button) == SYS_USB_CONNECTED)
return GO_TO_ROOT;