Don't canonicalize cwd path for dir list
This commit is contained in:
parent
25a567d62f
commit
a971d5f56e
@ -357,7 +357,7 @@ fn tree_reload(store: >k::TreeStore, state: &State) {
|
||||
/// replaced with the new path and the last entry is marked active.
|
||||
fn update_dir_list(dir: &str, dir_list_model: >k::TreeStore, dir_list: >k::ComboBox) {
|
||||
// The current working directory path.
|
||||
let complete_path = Path::new(dir).canonicalize().unwrap();
|
||||
let complete_path = Path::new(dir);
|
||||
let mut path = PathBuf::new();
|
||||
let mut components = complete_path.components();
|
||||
let mut next = components.next();
|
||||
|
Loading…
Reference in New Issue
Block a user