diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-02-04 04:49:43 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-02-04 04:49:43 +0000 |
| commit | 08e3ebbf8c8716fe61486d697671abd9774285d7 (patch) | |
| tree | 43b4d1c5653c3a3b0a583fdf7209cffe3b502793 /apps/gui | |
| parent | 0852527d5faa938f2ca546142ec0f0fe9a92b73a (diff) | |
| download | rockbox-08e3ebbf8c8716fe61486d697671abd9774285d7.zip rockbox-08e3ebbf8c8716fe61486d697671abd9774285d7.tar.gz rockbox-08e3ebbf8c8716fe61486d697671abd9774285d7.tar.bz2 rockbox-08e3ebbf8c8716fe61486d697671abd9774285d7.tar.xz | |
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
Diffstat (limited to 'apps/gui')
| -rw-r--r-- | apps/gui/gwps-common.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index 2d65629..1241c8a 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; } |