Fix modifier key logic for edit predictions preview with completions (#24709)

Michael Sloan created

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 🔗

@@ -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