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:
commit
ee7954e8d6
1 changed files with 2 additions and 0 deletions
|
|
@ -2258,8 +2258,10 @@ impl Tab {
|
||||||
Message::Config(config) => {
|
Message::Config(config) => {
|
||||||
// View is preserved for existing tabs
|
// View is preserved for existing tabs
|
||||||
let view = self.config.view;
|
let view = self.config.view;
|
||||||
|
let show_hidden = self.config.show_hidden;
|
||||||
self.config = config;
|
self.config = config;
|
||||||
self.config.view = view;
|
self.config.view = view;
|
||||||
|
self.config.show_hidden = show_hidden;
|
||||||
}
|
}
|
||||||
Message::ContextAction(action) => {
|
Message::ContextAction(action) => {
|
||||||
// Close context menu
|
// Close context menu
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue