summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 00ca7c8e19..80132449e9 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -351,8 +351,6 @@ static int update_dir(void)
351 tc.selected_item=tc.filesindir-1; 351 tc.selected_item=tc.filesindir-1;
352 352
353 gui_synclist_select_item(&tree_lists, tc.selected_item); 353 gui_synclist_select_item(&tree_lists, tc.selected_item);
354 gui_synclist_draw(&tree_lists);
355 gui_syncstatusbar_draw(&statusbars, true);
356#ifdef HAS_BUTTONBAR 354#ifdef HAS_BUTTONBAR
357 if (global_settings.buttonbar) { 355 if (global_settings.buttonbar) {
358 if (*tc.dirfilter < NUM_FILTER_MODES) 356 if (*tc.dirfilter < NUM_FILTER_MODES)
@@ -364,6 +362,8 @@ static int update_dir(void)
364 gui_buttonbar_draw(&tree_buttonbar); 362 gui_buttonbar_draw(&tree_buttonbar);
365 } 363 }
366#endif 364#endif
365 gui_synclist_draw(&tree_lists);
366 gui_syncstatusbar_draw(&statusbars, true);
367 return tc.filesindir; 367 return tc.filesindir;
368} 368}
369 369