diff options
author | qkzk <qu3nt1n@gmail.com> | 2023-09-19 09:56:37 +0200 |
---|---|---|
committer | qkzk <qu3nt1n@gmail.com> | 2023-09-19 09:56:37 +0200 |
commit | 162ab5e4aeb05a4c43a8c97ed77a552f6df977ba (patch) | |
tree | f2c1d8ca23b56098fbbac8f0d05060a2fb434af8 /src/event_exec.rs | |
parent | 8ba3cc270ec647253ec6928bd9242dfea1cb1f03 (diff) |
FIX: chmod reset view. New method to refresh everything but the file index and view
Diffstat (limited to 'src/event_exec.rs')
-rw-r--r-- | src/event_exec.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event_exec.rs b/src/event_exec.rs index d0239d0..86ddd6f 100644 --- a/src/event_exec.rs +++ b/src/event_exec.rs @@ -102,7 +102,7 @@ impl EventAction { .flagged .push(status.tabs[status.index].selected().unwrap().path.clone()); }; - status.reset_tabs_view() + Ok(()) } /// Enter JUMP mode, allowing to jump to any flagged file. @@ -159,7 +159,7 @@ impl EventAction { /// Reset the inputs and completion, reset the window, exit the preview. pub fn reset_mode(tab: &mut Tab) -> Result<()> { tab.reset_mode(); - tab.refresh_view() + tab.refresh_params() } /// Enter a copy paste mode. /// A confirmation is asked before copying all flagged files to |