Fix handling of holding modifier to show edit prediction (#24580)

Meant to include this in #24442

Release Notes:

- N/A
This commit is contained in:
Michael Sloan authored and GitHub committed 2025-02-10 13:39:03 -07:00
1 parent 0136681c5b
commit d43325e5ba
1 file changed
+1 -1
+1 -1
View File
@@ -5102,7 +5102,7 @@ impl Editor {
window: &mut Window,
cx: &mut Context<Self>,
) {
if !self.show_edit_predictions_in_menu(cx) {
if self.show_edit_predictions_in_menu(cx) {
let accept_binding =
AcceptEditPredictionBinding::resolve(self.focus_handle(cx), window);
if let Some(accept_keystroke) = accept_binding.keystroke() {