mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:38:13 +00:00
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
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
Add a link
Reference in a new issue