mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 02:37:21 +00:00
Allow pasting the same entry more than once in project panel
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
parent
9f3c8c1e3a
commit
27a6951403
1 changed files with 0 additions and 1 deletions
|
@ -763,7 +763,6 @@ impl ProjectPanel {
|
||||||
ix += 1;
|
ix += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
self.clipboard_entry.take();
|
|
||||||
if clipboard_entry.is_cut() {
|
if clipboard_entry.is_cut() {
|
||||||
if let Some(task) = self.project.update(cx, |project, cx| {
|
if let Some(task) = self.project.update(cx, |project, cx| {
|
||||||
project.rename_entry(clipboard_entry.entry_id(), new_path, cx)
|
project.rename_entry(clipboard_entry.entry_id(), new_path, cx)
|
||||||
|
|
Loading…
Reference in a new issue