summaryrefslogtreecommitdiffstats
path: root/src/commands/delete_files.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/delete_files.rs')
-rw-r--r--src/commands/delete_files.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands/delete_files.rs b/src/commands/delete_files.rs
index 7d7fa33..755edb8 100644
--- a/src/commands/delete_files.rs
+++ b/src/commands/delete_files.rs
@@ -93,12 +93,13 @@ pub fn delete_selected_files(
}
let curr_tab = context.tab_context_ref().curr_tab_ref();
+ let config = context.config_ref().clone();
let options = context.config_ref().display_options_ref().clone();
let curr_path = curr_tab.cwd().to_path_buf();
for (_, tab) in context.tab_context_mut().iter_mut() {
let tab_options = tab.option_ref().clone();
tab.history_mut()
- .reload(&curr_path, &options, &tab_options)?;
+ .reload(&curr_path, &config, &options, &tab_options)?;
}
Ok(())
}