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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user