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

Michael Sloan created

Meant to include this in #24442

Release Notes:

- N/A

Change summary

crates/editor/src/editor.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

crates/editor/src/editor.rs 🔗

@@ -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() {