diff options
author | roman.artiukhin <bahusdrive@gmail.com> | 2022-11-13 12:29:00 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2022-12-09 11:02:50 -0500 |
commit | b63f4c588449f50ad427951f3512f8284a485012 (patch) | |
tree | 4b0b6d41054274a4910a782e8178a72ed9d0338c | |
parent | 7a00ad72e485b5994aff9d09b1e5213d0a2f0455 (diff) | |
download | rockbox-b63f4c5884.tar.gz rockbox-b63f4c5884.zip |
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
-rw-r--r-- | apps/gui/option_select.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |