Fix scrolling lines that keep scrolling after exiting plugins and scrolling lines from the fm screen that keep scrolling in the radio context menu, closes FS#10616,

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23633 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2009-11-15 16:45:25 +00:00
parent 09c26581a5
commit 8ceaf7bb72
2 changed files with 7 additions and 0 deletions

View file

@ -803,6 +803,11 @@ int plugin_load(const char* plugin, const void* parameter)
button_clear_queue(); button_clear_queue();
lcd_clear_display();
#ifdef HAVE_LCD_REMOTE
lcd_remote_clear_display();
#endif
#ifdef HAVE_LCD_BITMAP #ifdef HAVE_LCD_BITMAP
lcd_setfont(FONT_UI); lcd_setfont(FONT_UI);
#if LCD_DEPTH > 1 #if LCD_DEPTH > 1

View file

@ -752,6 +752,8 @@ int radio_screen(void)
case ACTION_FM_MENU: case ACTION_FM_MENU:
viewportmanager_set_statusbar(oldbars); viewportmanager_set_statusbar(oldbars);
FOR_NB_SCREENS(i)
screens[i].scroll_stop(&vp[i]);
radio_menu(); radio_menu();
curr_preset = find_preset(curr_freq); curr_preset = find_preset(curr_freq);
viewportmanager_set_statusbar(fmbars); viewportmanager_set_statusbar(fmbars);