Merge pull request #685 from CaelusV/show_hidden

Fix 'Show hidden files' toggle being reset when tab config is updated
This commit is contained in:
Jeremy Soller 2024-12-18 09:19:59 -07:00 committed by GitHub
commit ee7954e8d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2258,8 +2258,10 @@ impl Tab {
Message::Config(config) => {
// View is preserved for existing tabs
let view = self.config.view;
let show_hidden = self.config.show_hidden;
self.config = config;
self.config.view = view;
self.config.show_hidden = show_hidden;
}
Message::ContextAction(action) => {
// Close context menu