diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 406f193817..54e9533d7e 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -5205,7 +5205,7 @@ impl Editor { return; }; - if &accept_keystroke.modifiers == modifiers { + if &accept_keystroke.modifiers == modifiers && accept_keystroke.modifiers.modified() { if matches!( self.edit_prediction_preview, EditPredictionPreview::Inactive