mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 11:48:32 +00:00
Ladybird/Qt: Find the previous search match when the shift key is held
This commit is contained in:
@@ -77,6 +77,9 @@ void FindInPageWidget::keyPressEvent(QKeyEvent* event)
|
|||||||
setVisible(false);
|
setVisible(false);
|
||||||
break;
|
break;
|
||||||
case Qt::Key_Return:
|
case Qt::Key_Return:
|
||||||
|
if (event->modifiers().testFlag(Qt::ShiftModifier))
|
||||||
|
m_previous_button->click();
|
||||||
|
else
|
||||||
m_next_button->click();
|
m_next_button->click();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user