From 48952d498d5735537c4ed903396200d5774dac59 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Thu, 18 Mar 2021 00:46:43 -0400 Subject: [PATCH] shortcuts menu bugfix wps context plugin fallthrough if you ran a plugin from shortcut menu that originated from the WPS next time you pressed select in the wps it would attempt to run the wps context plugin Change-Id: Id72eb6a20522586efeb479aea0b1c50b53942346 --- apps/root_menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/root_menu.c b/apps/root_menu.c index f4f984b823..62014b619d 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c @@ -863,7 +863,8 @@ void root_menu(void) make sure we preserve and restore the origin */ if (next_screen == GO_TO_PREVIOUS && shortcut_origin != GO_TO_ROOT) { - next_screen = shortcut_origin; + if (shortcut_origin != GO_TO_WPS) + next_screen = shortcut_origin; shortcut_origin = GO_TO_ROOT; }