summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2021-03-18 00:46:43 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2021-03-18 00:46:43 -0400
commit48952d498d5735537c4ed903396200d5774dac59 (patch)
tree1fdf7cb9dadf7d6fabe1164a4bb61054a904d6a1
parent29fa47d43d0a9a0fc98fddfa315145ecc7727044 (diff)
downloadrockbox-48952d498d.tar.gz
rockbox-48952d498d.zip
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
-rw-r--r--apps/root_menu.c3
1 files changed, 2 insertions, 1 deletions
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;
}