fixed compilation issue

imgbot
Igor Cohanovschi 2 years ago
parent 0f4cfa0fe7
commit e1bf96f25f

@ -453,7 +453,7 @@ impl Explorer {
}
};
if meta.is_file() {
if let Err(e) = cx.editor.open(item.path.clone(), Action::Replace) {
if let Err(e) = cx.editor.open(&item.path.clone(), Action::Replace) {
cx.editor.set_error(format!("{e}"));
}
state.focus = false;

Loading…
Cancel
Save