WPS hotkeys: Don't enable SBS for pitch screen or bookmarking

Change-Id: I5d5f4f1c402500abd15fcbb8b62013c97f4f931c
This commit is contained in:
Christian Soffke 2022-12-15 07:15:42 +01:00
parent 79e6139f56
commit a6bafe51a6

View file

@ -787,7 +787,7 @@ long gui_wps_show(void)
hotkey = true; hotkey = true;
if (!global_settings.hotkey_wps) if (!global_settings.hotkey_wps)
break; break;
if (global_settings.hotkey_wps == HOTKEY_PLUGIN) if (get_hotkey(global_settings.hotkey_wps)->flags & HOTKEY_FLAG_NOSBS)
{ {
/* leave WPS without re-enabling theme */ /* leave WPS without re-enabling theme */
theme_enabled = false; theme_enabled = false;