FileManager: Make "show dotfiles" affect the tree view as well
Previously this only affected the main directory view.
This commit is contained in:
parent
4486e5b26d
commit
49b9683381
Notes:
sideshowbarker
2024-07-18 08:02:39 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/49b96833817
1 changed files with 1 additions and 0 deletions
|
@ -865,6 +865,7 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> 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();
|
||||
|
|
Loading…
Add table
Reference in a new issue