summaryrefslogtreecommitdiffstats
path: root/src/commands/parent_directory.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-06-05 11:20:17 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-06-05 11:20:17 -0400
commitbabf6e62b0f6fea99cedd5680b057437beb9251e (patch)
treecbc36226fc425fa1de328a95e6919af2f39ea83e /src/commands/parent_directory.rs
parenta31f9714f81f8801b803356ff467d4a7ad78e34d (diff)
fmt, clippy and make more fields private
Diffstat (limited to 'src/commands/parent_directory.rs')
-rw-r--r--src/commands/parent_directory.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/parent_directory.rs b/src/commands/parent_directory.rs
index 50de924..abafc21 100644
--- a/src/commands/parent_directory.rs
+++ b/src/commands/parent_directory.rs
@@ -32,7 +32,7 @@ impl ParentDirectory {
std::mem::swap(&mut curr_tab.curr_list, &mut new_curr_list);
curr_tab
.history
- .insert(new_curr_list.path.clone(), new_curr_list);
+ .insert(new_curr_list.file_path().clone(), new_curr_list);
curr_tab.refresh(view, &context.config_t);
ncurses::doupdate();