[UI] Prevent Tab from moving focus when no completion popup

This commit is contained in:
Lukas Brübach 2026-10-09 12:47:53 +02:00
parent 7b8d86f45a
commit bc8289e48f

View file

@ -123,10 +123,12 @@ void LineEditCompleter::keyPressEvent(QKeyEvent *event)
insertCompletion(info.completer, completionText);
}
hideCompleterPopups();
setFocus();
return;
}
}
// If no popup is visible, prevent Tab from moving focus
event->ignore();
return;
}
LineEditUnfocusable::keyPressEvent(event);