summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2006-04-29 10:56:57 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2006-04-29 10:56:57 +0000
commit4bfdd1fca1bade8121918ef6a4e1887426da5822 (patch)
tree5155ea8b174f7eeecea3ef9daaf4a552cd4b6bb1 /apps/gui
parent2220d398d069d891c89a6478242433ab7b35cc3e (diff)
Clear wps backdrop on USB event when in wps. Fix for bug report 4752
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9831 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/gwps.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c
index e31427ecba..8937a0a3f2 100644
--- a/apps/gui/gwps.c
+++ b/apps/gui/gwps.c
@@ -744,7 +744,12 @@ long gui_wps_show(void)
default:
if(default_event_handler(button) == SYS_USB_CONNECTED)
+ {
+#ifdef HAVE_LCD_COLOR
+ lcd_set_backdrop(gui_wps[SCREEN_MAIN].data->old_backdrop);
+#endif
return SYS_USB_CONNECTED;
+ }
update_track = true;
break;
}