diff options
Diffstat (limited to 'findwidget.cpp')
-rw-r--r-- | findwidget.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/findwidget.cpp b/findwidget.cpp index cc1f73d..f2f9bf1 100644 --- a/findwidget.cpp +++ b/findwidget.cpp @@ -97,11 +97,12 @@ void FindWidget::keyPressEvent( QKeyEvent* e ) case Qt::Key_Escape: this->slotClose(); break; - case Qt::Key_F3 + Qt::SHIFT: - this->slotFindPrevious(); - break; case Qt::Key_F3: - this->slotFindNext(); + if (e->modifiers() & Qt::ShiftModifier) { + this->slotFindPrevious(); + } else { + this->slotFindNext(); + } break; } } |