From b63f4c588449f50ad427951f3512f8284a485012 Mon Sep 17 00:00:00 2001 From: "roman.artiukhin" Date: Sun, 13 Nov 2022 12:29:00 +0200 Subject: Exit option select on ACTION_STD_MENU Similar to 59f3f43d. It makes it behave consistently with tree/playlists other menus. So it's possible to exit option select using Back button on Clip Zip or Power button on Rocker Change-Id: I93fe71ba2222ae16d59f3ba4cfbbedad3fb2568b --- apps/gui/option_select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/gui/option_select.c b/apps/gui/option_select.c index 242b5294da..ca16b5b05f 100644 --- a/apps/gui/option_select.c +++ b/apps/gui/option_select.c @@ -525,7 +525,7 @@ bool option_screen(const struct settings_list *setting, } else if (action == ACTION_NONE) continue; - else if (action == ACTION_STD_CANCEL) + else if (action == ACTION_STD_CANCEL || action == ACTION_STD_MENU) { /* setting canceled, restore old value if changed */ if (*variable != oldvalue) -- cgit v1.2.3