From b8a79b8bbae67d90db560a82aad16bebb6587b3b Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Thu, 26 Apr 2007 20:32:05 +0000 Subject: Clear the RWPS backdrop when a RWPS is loaded, not when a WPS is loaded. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13275 a1c6a512-1295-4272-9138-f99709370657 --- apps/filetree.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/filetree.c b/apps/filetree.c index 7073e59f1b..aea81a71d4 100644 --- a/apps/filetree.c +++ b/apps/filetree.c @@ -452,9 +452,6 @@ int ft_enter(struct tree_context* c) gui_syncsplash(0, str(LANG_WAIT)); #if LCD_DEPTH > 1 unload_wps_backdrop(); -#endif -#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 - unload_remote_wps_backdrop(); #endif wps_data_load(gui_wps[0].data, buf, true); set_file(buf, (char *)global_settings.wps_file, @@ -465,6 +462,9 @@ int ft_enter(struct tree_context* c) /* remote-wps config file */ case FILE_ATTR_RWPS: gui_syncsplash(0, str(LANG_WAIT)); +#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 + unload_remote_wps_backdrop(); +#endif wps_data_load(gui_wps[1].data, buf, true); set_file(buf, (char *)global_settings.rwps_file, MAX_FILENAME); -- cgit v1.2.3