diff --git a/Ladybird/Qt/FindInPageWidget.cpp b/Ladybird/Qt/FindInPageWidget.cpp index 41f01cd1207..f4a0afb1f65 100644 --- a/Ladybird/Qt/FindInPageWidget.cpp +++ b/Ladybird/Qt/FindInPageWidget.cpp @@ -77,7 +77,10 @@ void FindInPageWidget::keyPressEvent(QKeyEvent* event) setVisible(false); break; case Qt::Key_Return: - m_next_button->click(); + if (event->modifiers().testFlag(Qt::ShiftModifier)) + m_previous_button->click(); + else + m_next_button->click(); break; default: event->ignore();