diff --git a/cockatrice/src/interface/widgets/utility/line_edit_completer.cpp b/cockatrice/src/interface/widgets/utility/line_edit_completer.cpp index a1789fe99..e32dc25e3 100644 --- a/cockatrice/src/interface/widgets/utility/line_edit_completer.cpp +++ b/cockatrice/src/interface/widgets/utility/line_edit_completer.cpp @@ -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; }