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 2025-02-10 13:39:03 -07:00 committed by GitHub
parent 78a5cf0257
commit 63c0150cc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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