Merge pull request #2042 from zed-industries/fix-pasting-files

Allow pasting the same entry more than once in project panel
This commit is contained in:
Petros Amoiridis
2023-01-18 18:37:31 +02:00
committed by GitHub
@@ -763,7 +763,6 @@ impl ProjectPanel {
ix += 1;
}
self.clipboard_entry.take();
if clipboard_entry.is_cut() {
if let Some(task) = self.project.update(cx, |project, cx| {
project.rename_entry(clipboard_entry.entry_id(), new_path, cx)