simplelist: stop scrolling when leaving

Fixes (at least) Shortcuts menu not stopping
a scrolling line after leaving menu for a
plugin in some situations.

Change-Id: I90b4cc71a63e557565d028aae27db082e2e1813f
This commit is contained in:
Christian Soffke 2025-12-25 14:29:49 +01:00
parent b04fd3efed
commit dbec04dc81

View file

@ -971,11 +971,14 @@ bool simplelist_show_list(struct simplelist_info *info)
}
else if(default_event_handler(action) == SYS_USB_CONNECTED)
{
gui_synclist_scroll_stop(&lists);
return true;
}
}
talk_shutup();
gui_synclist_scroll_stop(&lists);
#ifdef HAVE_LCD_COLOR
if (info->selection_color)
gui_synclist_set_sel_color(&lists, NULL);