summaryrefslogtreecommitdiff
path: root/apps/gui/gwps-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r--apps/gui/gwps-common.c8
1 files changed, 8 insertions, 0 deletions
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)
387 FOR_NB_SCREENS(i) 387 FOR_NB_SCREENS(i)
388 { 388 {
389 gui_wps_refresh(&gui_wps[i], 0, WPS_REFRESH_ALL); 389 gui_wps_refresh(&gui_wps[i], 0, WPS_REFRESH_ALL);
390 /* temporary work around so the statusbar doesnt disappear when the WPS
391 * is first entered. This should be removed when the
392 * WPS-statusbar handling is fixed up a bit more */
393 bool draw = global_settings.statusbar;
394 if (gui_wps[i].data->wps_sb_tag)
395 draw = gui_wps[i].data->show_sb_on_wps;
396 if (draw)
397 gui_statusbar_draw(&statusbars.statusbars[i], true);
390 } 398 }
391 return false; 399 return false;
392} 400}