From 8ceaf7bb7277f61b1ebfce816a0e05a3674d25c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Sun, 15 Nov 2009 16:45:25 +0000 Subject: [PATCH] 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 --- apps/plugin.c | 5 +++++ apps/recorder/radio.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/apps/plugin.c b/apps/plugin.c index b0a57d6744..f59e42e222 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -803,6 +803,11 @@ int plugin_load(const char* plugin, const void* parameter) button_clear_queue(); + lcd_clear_display(); +#ifdef HAVE_LCD_REMOTE + lcd_remote_clear_display(); +#endif + #ifdef HAVE_LCD_BITMAP lcd_setfont(FONT_UI); #if LCD_DEPTH > 1 diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index 9929fba82f..1cc28a85a5 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c @@ -752,6 +752,8 @@ int radio_screen(void) case ACTION_FM_MENU: viewportmanager_set_statusbar(oldbars); + FOR_NB_SCREENS(i) + screens[i].scroll_stop(&vp[i]); radio_menu(); curr_preset = find_preset(curr_freq); viewportmanager_set_statusbar(fmbars);