From 08e3ebbf8c8716fe61486d697671abd9774285d7 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 4 Feb 2009 04:49:43 +0000 Subject: Temp fix for the statusbar disappearing for a fraction of a second when the WPS is first opened git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19917 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/gwps-common.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/gui/gwps-common.c') diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index 2d65629f97..1241c8a199 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c @@ -387,6 +387,14 @@ bool gui_wps_display(void) FOR_NB_SCREENS(i) { gui_wps_refresh(&gui_wps[i], 0, WPS_REFRESH_ALL); + /* temporary work around so the statusbar doesnt disappear when the WPS + * is first entered. This should be removed when the + * WPS-statusbar handling is fixed up a bit more */ + bool draw = global_settings.statusbar; + if (gui_wps[i].data->wps_sb_tag) + draw = gui_wps[i].data->show_sb_on_wps; + if (draw) + gui_statusbar_draw(&statusbars.statusbars[i], true); } return false; } -- cgit v1.2.3