[UI] Restore Tab behavior to match original (handle in focusOut)

This commit is contained in:
Lukas Brübach 2026-10-09 13:02:44 +02:00
parent 9011d9d4ca
commit 4b7aa8f1c2

View file

@ -114,12 +114,8 @@ void LineEditCompleter::keyPressEvent(QKeyEvent *event)
}
if (event->key() == Qt::Key_Tab) {
bool popupVisible = hasVisibleCompleterPopup();
if (popupVisible) {
event->ignore();
return;
}
event->ignore();
// Let Tab proceed normally; focusOutEvent will handle completion if popup is visible
LineEditUnfocusable::keyPressEvent(event);
return;
}