diff options
Diffstat (limited to 'apps/filetree.c')
-rw-r--r-- | apps/filetree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/filetree.c b/apps/filetree.c index 7073e59f1b..aea81a71d4 100644 --- a/apps/filetree.c +++ b/apps/filetree.c | |||
@@ -453,9 +453,6 @@ int ft_enter(struct tree_context* c) | |||
453 | #if LCD_DEPTH > 1 | 453 | #if LCD_DEPTH > 1 |
454 | unload_wps_backdrop(); | 454 | unload_wps_backdrop(); |
455 | #endif | 455 | #endif |
456 | #if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 | ||
457 | unload_remote_wps_backdrop(); | ||
458 | #endif | ||
459 | wps_data_load(gui_wps[0].data, buf, true); | 456 | wps_data_load(gui_wps[0].data, buf, true); |
460 | set_file(buf, (char *)global_settings.wps_file, | 457 | set_file(buf, (char *)global_settings.wps_file, |
461 | MAX_FILENAME); | 458 | MAX_FILENAME); |
@@ -465,6 +462,9 @@ int ft_enter(struct tree_context* c) | |||
465 | /* remote-wps config file */ | 462 | /* remote-wps config file */ |
466 | case FILE_ATTR_RWPS: | 463 | case FILE_ATTR_RWPS: |
467 | gui_syncsplash(0, str(LANG_WAIT)); | 464 | gui_syncsplash(0, str(LANG_WAIT)); |
465 | #if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 | ||
466 | unload_remote_wps_backdrop(); | ||
467 | #endif | ||
468 | wps_data_load(gui_wps[1].data, buf, true); | 468 | wps_data_load(gui_wps[1].data, buf, true); |
469 | set_file(buf, (char *)global_settings.rwps_file, | 469 | set_file(buf, (char *)global_settings.rwps_file, |
470 | MAX_FILENAME); | 470 | MAX_FILENAME); |