diff options
Diffstat (limited to 'apps/gui/wps.c')
-rw-r--r-- | apps/gui/wps.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c index 916ca2cbcf..96f66eeb50 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c | |||
@@ -886,8 +886,11 @@ long gui_wps_show(void) | |||
886 | #endif | 886 | #endif |
887 | switch(button) | 887 | switch(button) |
888 | { | 888 | { |
889 | case ACTION_WPS_CONTEXT: | ||
890 | case ACTION_WPS_HOTKEY: | 889 | case ACTION_WPS_HOTKEY: |
890 | if (!global_settings.hotkey_wps) | ||
891 | break; | ||
892 | /* fall through */ | ||
893 | case ACTION_WPS_CONTEXT: | ||
891 | { | 894 | { |
892 | bool hotkey = button == ACTION_WPS_HOTKEY; | 895 | bool hotkey = button == ACTION_WPS_HOTKEY; |
893 | gwps_leave_wps(); | 896 | gwps_leave_wps(); |