diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-02-20 19:12:10 -0500 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-02-20 19:12:52 -0500 |
commit | c829e7849a44922cb55149f3874a82cda1040c89 (patch) | |
tree | e8e167eef9f0d5bb8d1e008c1bc2bb9936646718 /src/commands/parent_directory.rs | |
parent | 412b1ebb44382522084f615d58cb75374bc64778 (diff) |
change how preview works
Diffstat (limited to 'src/commands/parent_directory.rs')
-rw-r--r-- | src/commands/parent_directory.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/parent_directory.rs b/src/commands/parent_directory.rs index 15d3556..82afe95 100644 --- a/src/commands/parent_directory.rs +++ b/src/commands/parent_directory.rs @@ -53,8 +53,8 @@ impl ParentDirectory { &context.username, &context.hostname, ); + preview::preview_file(curr_tab, &context.views, &context.config_t); } - preview::preview_file(context); } Err(e) => { ui::wprint_err(&context.views.bot_win, e.to_string().as_str()); |