summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-04-28 18:51:24 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2022-04-28 18:56:13 -0400
commitab71b9e33403f503cf3fc15d6df612bba51d22d6 (patch)
tree44463ec850edc5d146d1de6b8fca34d468fd2e9e
parentf0d3a62d9108c469b5dacaeda843444fb397a25c (diff)
downloadrockbox-ab71b9e33403f503cf3fc15d6df612bba51d22d6.tar.gz
rockbox-ab71b9e33403f503cf3fc15d6df612bba51d22d6.zip
tree.c update settings when new theme selected
Change-Id: I376aba4258dd3c54c45d97317aa1e7bc8f2a3a17
-rw-r--r--apps/tree.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 503cf47fc5..cef990617c 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -686,7 +686,11 @@ static int dirbrowse(void)
return GO_TO_FM;
#endif
case GO_TO_ROOT: exit_func = true; break;
- default: break;
+ default:
+ if (*tc.dirfilter == SHOW_CFG) /* theme changed */
+ gui_synclist_init_display_settings(&tree_lists);
+
+ break;
}
restore = true;
break;