summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 74c1059a60..b61ed0a43d 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -102,6 +102,9 @@ const struct filetype filetypes[] = {
102#ifdef HAVE_REMOTE_LCD 102#ifdef HAVE_REMOTE_LCD
103 { "rwps", TREE_ATTR_RWPS, Icon_Wps, VOICE_EXT_RWPS }, 103 { "rwps", TREE_ATTR_RWPS, Icon_Wps, VOICE_EXT_RWPS },
104#endif 104#endif
105#ifdef HAVE_LCD_COLOR
106 { "bmp", TREE_ATTR_BMP, Icon_Wps, VOICE_EXT_WPS },
107#endif
105 { "lng", TREE_ATTR_LNG, Icon_Language, LANG_LANGUAGE }, 108 { "lng", TREE_ATTR_LNG, Icon_Language, LANG_LANGUAGE },
106 { "rock",TREE_ATTR_ROCK,Icon_Plugin, VOICE_EXT_ROCK }, 109 { "rock",TREE_ATTR_ROCK,Icon_Plugin, VOICE_EXT_ROCK },
107#ifdef HAVE_LCD_BITMAP 110#ifdef HAVE_LCD_BITMAP
@@ -861,10 +864,20 @@ static bool dirbrowse(void)
861 if (start_wps && audio_status() ) 864 if (start_wps && audio_status() )
862 { 865 {
863 int i; 866 int i;
867#if HAVE_LCD_COLOR
868 fb_data* old_backdrop;
869#endif
870
864 FOR_NB_SCREENS(i) 871 FOR_NB_SCREENS(i)
865 screens[i].stop_scroll(); 872 screens[i].stop_scroll();
873#if HAVE_LCD_COLOR
874 old_backdrop = lcd_get_backdrop();
875#endif
866 if (gui_wps_show() == SYS_USB_CONNECTED) 876 if (gui_wps_show() == SYS_USB_CONNECTED)
867 reload_dir = true; 877 reload_dir = true;
878#if HAVE_LCD_COLOR
879 lcd_set_backdrop(old_backdrop);
880#endif
868#ifdef HAVE_HOTSWAP 881#ifdef HAVE_HOTSWAP
869 else 882 else
870 if (!id3db) /* Try reload to catch 'no longer valid' case. */ 883 if (!id3db) /* Try reload to catch 'no longer valid' case. */