diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c index dc2453c21c..22cda58897 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -770,7 +770,6 @@ bool dirbrowse(char *root) | |||
770 | #else | 770 | #else |
771 | case BUTTON_STOP | BUTTON_REL: | 771 | case BUTTON_STOP | BUTTON_REL: |
772 | #endif | 772 | #endif |
773 | global_settings.resume_index = -1; | ||
774 | settings_save(); | 773 | settings_save(); |
775 | break; | 774 | break; |
776 | 775 | ||
@@ -928,7 +927,6 @@ bool dirbrowse(char *root) | |||
928 | lcd_stop_scroll(); | 927 | lcd_stop_scroll(); |
929 | if ( wps_show() == SYS_USB_CONNECTED ) { | 928 | if ( wps_show() == SYS_USB_CONNECTED ) { |
930 | reload_root = true; | 929 | reload_root = true; |
931 | global_settings.resume_index = -1; | ||
932 | } | 930 | } |
933 | #ifdef HAVE_LCD_BITMAP | 931 | #ifdef HAVE_LCD_BITMAP |
934 | tree_max_on_screen = (LCD_HEIGHT - MARGIN_Y) / fh; | 932 | tree_max_on_screen = (LCD_HEIGHT - MARGIN_Y) / fh; |