From 49b968338178ecc57b5ecc284802c57231e10ee3 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 27 Jul 2021 17:12:28 +0200 Subject: [PATCH] FileManager: Make "show dotfiles" affect the tree view as well Previously this only affected the main directory view. --- Userland/Applications/FileManager/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Applications/FileManager/main.cpp b/Userland/Applications/FileManager/main.cpp index ba94846359..c1fe99dca4 100644 --- a/Userland/Applications/FileManager/main.cpp +++ b/Userland/Applications/FileManager/main.cpp @@ -865,6 +865,7 @@ int run_in_windowed_mode(RefPtr config, String initial_locatio auto action_show_dotfiles = GUI::Action::create_checkable("&Show Dotfiles", { Mod_Ctrl, Key_H }, [&](auto& action) { directory_view.set_should_show_dotfiles(action.is_checked()); + directories_model->set_should_show_dotfiles(action.is_checked()); refresh_tree_view(); config->write_bool_entry("DirectoryView", "ShowDotFiles", action.is_checked()); config->sync();