summaryrefslogtreecommitdiffstats
path: root/src/util/load_child.rs
diff options
context:
space:
mode:
authorJeff Zhao <jeff.no.zhao@gmail.com>2021-05-01 09:57:58 -0400
committerJeff Zhao <jeff.no.zhao@gmail.com>2021-05-01 10:00:45 -0400
commit4409199315c5cc22bfba6cc63052a49dbdddfeb1 (patch)
treecfda2851a0c01cd183643810a6fe0941129f103a /src/util/load_child.rs
parent297a06ef3a529687e7edb84d5f67376c654b1927 (diff)
remove methods
Diffstat (limited to 'src/util/load_child.rs')
-rw-r--r--src/util/load_child.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/load_child.rs b/src/util/load_child.rs
index e990cf3..63fb1f2 100644
--- a/src/util/load_child.rs
+++ b/src/util/load_child.rs
@@ -18,7 +18,7 @@ impl LoadChild {
// get preview
if let Some(path) = path {
if path.is_dir() {
- let options = context.display_options_ref().clone();
+ let options = context.config_ref().display_options_ref().clone();
context
.tab_context_mut()
.curr_tab_mut()