diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 406f193817e7cea1da00c12f53173167a2bad8a0..54e9533d7ea316d5c94d1ab416be74cab0d87190 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