diff --git a/src/file_browser.rs b/src/file_browser.rs index 04f0f8b..660d21d 100644 --- a/src/file_browser.rs +++ b/src/file_browser.rs @@ -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();