mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-16 00:22:29 -05:00
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
This commit is contained in:
parent
832bbf72a8
commit
b8a79b8bba
1 changed files with 3 additions and 3 deletions
|
|
@ -452,9 +452,6 @@ int ft_enter(struct tree_context* c)
|
||||||
gui_syncsplash(0, str(LANG_WAIT));
|
gui_syncsplash(0, str(LANG_WAIT));
|
||||||
#if LCD_DEPTH > 1
|
#if LCD_DEPTH > 1
|
||||||
unload_wps_backdrop();
|
unload_wps_backdrop();
|
||||||
#endif
|
|
||||||
#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
|
|
||||||
unload_remote_wps_backdrop();
|
|
||||||
#endif
|
#endif
|
||||||
wps_data_load(gui_wps[0].data, buf, true);
|
wps_data_load(gui_wps[0].data, buf, true);
|
||||||
set_file(buf, (char *)global_settings.wps_file,
|
set_file(buf, (char *)global_settings.wps_file,
|
||||||
|
|
@ -465,6 +462,9 @@ int ft_enter(struct tree_context* c)
|
||||||
/* remote-wps config file */
|
/* remote-wps config file */
|
||||||
case FILE_ATTR_RWPS:
|
case FILE_ATTR_RWPS:
|
||||||
gui_syncsplash(0, str(LANG_WAIT));
|
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);
|
wps_data_load(gui_wps[1].data, buf, true);
|
||||||
set_file(buf, (char *)global_settings.rwps_file,
|
set_file(buf, (char *)global_settings.rwps_file,
|
||||||
MAX_FILENAME);
|
MAX_FILENAME);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue