diff options
-rw-r--r-- | apps/menu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/menu.c b/apps/menu.c index 7ab7b56152..fc35da643f 100644 --- a/apps/menu.c +++ b/apps/menu.c | |||
@@ -670,6 +670,9 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected, | |||
670 | } | 670 | } |
671 | else | 671 | else |
672 | { | 672 | { |
673 | if (action == SYS_USB_CONNECTED) | ||
674 | gui_synclist_scroll_stop(&lists); | ||
675 | |||
673 | switch(default_event_handler(action)) | 676 | switch(default_event_handler(action)) |
674 | { | 677 | { |
675 | case SYS_USB_CONNECTED: | 678 | case SYS_USB_CONNECTED: |
@@ -692,6 +695,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected, | |||
692 | gui_synclist_speak_item(&lists); | 695 | gui_synclist_speak_item(&lists); |
693 | } | 696 | } |
694 | } | 697 | } |
698 | |||
695 | if (start_selected) | 699 | if (start_selected) |
696 | { | 700 | { |
697 | /* make sure the start_selected variable is set to | 701 | /* make sure the start_selected variable is set to |