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.

editor: Fix menu::Confirm falling through to editor when confirming task entry in code actions (#11546)

Piotr Osiewicz1669ff80df8a
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index 410e60fc646..af64c5f0d24 100644
--- a/crates/editor/src/editor.rs
+++ b/crates/editor/src/editor.rs
@@ -3997,7 +3997,7 @@ impl Editor {
cx,
);
- None
+ Some(Task::ready(Ok(())))
})
}
CodeActionsItem::CodeAction(action) => {