Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove outdated TODO comment (#58985)

Finn Eversd989c7c5cdd0
diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rs
index 40e287ee7a1..473d590356d 100644
--- a/crates/project_panel/src/project_panel.rs
+++ b/crates/project_panel/src/project_panel.rs
@@ -1155,7 +1155,6 @@ impl ProjectPanel {
.action("Cut", Box::new(Cut))
.action("Copy", Box::new(Copy))
.action("Duplicate", Box::new(Duplicate))
- // TODO: Paste should always be visible, but disabled when clipboard is empty
.action_disabled_when(!has_pasteable_content, "Paste", Box::new(Paste))
.when(cx.has_flag::<ProjectPanelUndoRedoFeatureFlag>(), |menu| {
menu.action_disabled_when(