diff options
Diffstat (limited to 'src/joshuto/command/show_hidden.rs')
-rw-r--r-- | src/joshuto/command/show_hidden.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/joshuto/command/show_hidden.rs b/src/joshuto/command/show_hidden.rs index 853c7b7..47944ea 100644 --- a/src/joshuto/command/show_hidden.rs +++ b/src/joshuto/command/show_hidden.rs @@ -38,17 +38,13 @@ impl command::Runnable for ToggleHiddenFiles { s.update(&context.config_t.sort_type); } - if let Some(s) = tab.preview_list.as_mut() { - s.update(&context.config_t.sort_type); - } - if let Some(s) = tab.parent_list.as_mut() { s.update(&context.config_t.sort_type); } } } - ui::refresh(&context); + ui::refresh(context); ncurses::doupdate(); } |