summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2022-12-30 09:45:05 +0100
committerChristian Soffke <christian.soffke@gmail.com>2022-12-30 10:35:50 -0500
commitb321a719d314e30e7038fdd65792e46bcb3edba0 (patch)
tree98143ffc5d92b663c5f2184257ce61d56a377977 /apps/gui
parente180e45e01d257b753f97d7174e20f3e6a8a9378 (diff)
downloadrockbox-b321a719d314e30e7038fdd65792e46bcb3edba0.tar.gz
rockbox-b321a719d314e30e7038fdd65792e46bcb3edba0.zip
option_select & time_menu : Fix unbalanced push/pop activity
Change-Id: Icabbabb16b2f173168a441af474ee8403b908dd4
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/option_select.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/gui/option_select.c b/apps/gui/option_select.c
index ca16b5b05f..8839f42e42 100644
--- a/apps/gui/option_select.c
+++ b/apps/gui/option_select.c
@@ -565,7 +565,10 @@ bool option_screen(const struct settings_list *setting,
565 function(*variable); 565 function(*variable);
566 } 566 }
567 else if(default_event_handler(action) == SYS_USB_CONNECTED) 567 else if(default_event_handler(action) == SYS_USB_CONNECTED)
568 {
569 pop_current_activity();
568 return true; 570 return true;
571 }
569 /* callback */ 572 /* callback */
570 if (function && !cb_on_select_only) 573 if (function && !cb_on_select_only)
571 function(*variable); 574 function(*variable);