summaryrefslogtreecommitdiff
path: root/apps/gui/wps.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/wps.c')
-rw-r--r--apps/gui/wps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c
index 78ab8dc8dd..b42e386a91 100644
--- a/apps/gui/wps.c
+++ b/apps/gui/wps.c
@@ -839,7 +839,8 @@ long gui_wps_show(void)
839 if (global_settings.shortcuts_replaces_qs) 839 if (global_settings.shortcuts_replaces_qs)
840 { 840 {
841 global_status.last_screen = GO_TO_SHORTCUTMENU; 841 global_status.last_screen = GO_TO_SHORTCUTMENU;
842 return quick_screen_quick(button); 842 int ret = quick_screen_quick(button);
843 return (ret == GO_TO_PREVIOUS ? GO_TO_WPS : ret);
843 } 844 }
844 else if (quick_screen_quick(button) > 0) 845 else if (quick_screen_quick(button) > 0)
845 return GO_TO_ROOT; 846 return GO_TO_ROOT;