summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 484ed672cd..72e62caf2b 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -347,6 +347,11 @@ static int update_dir(void)
347 gui_syncsplash(HZ, true, str(LANG_SHOWDIR_BUFFER_FULL)); 347 gui_syncsplash(HZ, true, str(LANG_SHOWDIR_BUFFER_FULL));
348 } 348 }
349 } 349 }
350 if (global_settings.show_path_in_browser == SHOW_PATH_FULL) {
351 gui_synclist_set_title(&tree_lists, tc.currdir);
352 } else if (global_settings.show_path_in_browser == SHOW_PATH_CURRENT) {
353 gui_synclist_set_title(&tree_lists, strrchr(tc.currdir, '/'));
354 }
350 gui_synclist_set_nb_items(&tree_lists, tc.filesindir); 355 gui_synclist_set_nb_items(&tree_lists, tc.filesindir);
351 gui_synclist_set_icon_callback(&tree_lists, 356 gui_synclist_set_icon_callback(&tree_lists,
352 global_settings.show_icons?&tree_get_fileicon:NULL); 357 global_settings.show_icons?&tree_get_fileicon:NULL);