summaryrefslogtreecommitdiffstats
path: root/src/commands/delete_files.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2020-04-18 19:10:57 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2020-04-18 19:10:57 -0400
commit3fa40b654a96df76f445da7da3a35bce69730ca8 (patch)
treefa80a7c2b8d622f3adcd5bbb1585ab99d0bccebd /src/commands/delete_files.rs
parent06b9a79c02717463ed360077a837534b362784b3 (diff)
update to tui-rs 0.9
Diffstat (limited to 'src/commands/delete_files.rs')
-rw-r--r--src/commands/delete_files.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/delete_files.rs b/src/commands/delete_files.rs
index c70cee7..4f1c19a 100644
--- a/src/commands/delete_files.rs
+++ b/src/commands/delete_files.rs
@@ -95,7 +95,7 @@ impl JoshutoRunnable for DeleteFiles {
let options = &context.config_t.sort_option;
let curr_path = context.tabs[context.curr_tab_index].curr_path.clone();
for tab in context.tabs.iter_mut() {
- tab.history.reload(&curr_path, options);
+ tab.history.reload(&curr_path, options)?;
}
LoadChild::load_child(context)?;
Ok(())