diff options
author | Canop <cano.petrole@gmail.com> | 2020-06-12 21:51:00 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-06-12 21:51:44 +0200 |
commit | 32122537cf35473bfe884e20a9ba4d72dbeccac2 (patch) | |
tree | 2d8a4c162d2803ecdbfe7f85e26d605cc88ef486 /src/browser/browser_state.rs | |
parent | aaa8e78a5afecc6765a7299804ede6941102ec11 (diff) |
Fix some problems with relative paths in cp and mvv0.15.1
Diffstat (limited to 'src/browser/browser_state.rs')
-rw-r--r-- | src/browser/browser_state.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/browser/browser_state.rs b/src/browser/browser_state.rs index e57d905..907f80c 100644 --- a/src/browser/browser_state.rs +++ b/src/browser/browser_state.rs @@ -10,6 +10,7 @@ use { launchable::Launchable, pattern::Pattern, path, + path_anchor::PathAnchor, print, selection_type::SelectionType, skin::PanelSkin, @@ -524,7 +525,7 @@ impl AppState for BrowserState { if let Some(input_invocation) = input_invocation { // we'll go for input arg editing let path = if let Some(input_arg) = &input_invocation.args { - path::path_from(self.root(), input_arg) + path::path_from(self.root(), PathAnchor::Unspecified, input_arg) } else { self.root().to_path_buf() }; |