summaryrefslogtreecommitdiffstats
path: root/src/commands/rename_file.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/rename_file.rs')
-rw-r--r--src/commands/rename_file.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/rename_file.rs b/src/commands/rename_file.rs
index a5ec420..487d9d6 100644
--- a/src/commands/rename_file.rs
+++ b/src/commands/rename_file.rs
@@ -45,7 +45,7 @@ impl RenameFile {
curr_tab
.curr_list
.update_contents(&context.config_t.sort_option)?;
- curr_tab.refresh_curr(&view.mid_win, context.config_t.scroll_offset);
+ curr_tab.refresh_curr(&view.mid_win);
curr_tab.refresh_preview(&view.right_win, &context.config_t);
Ok(())
}