summaryrefslogtreecommitdiff
path: root/src/findbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/findbar.cpp')
-rw-r--r--src/findbar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/findbar.cpp b/src/findbar.cpp
index bb693ab0..03fe2180 100644
--- a/src/findbar.cpp
+++ b/src/findbar.cpp
@@ -82,6 +82,7 @@ FindBar::FindBar(QWidget *parent)
setFocusProxy(m_lineEdit);
m_lineEdit->setMaximumWidth(250);
connect(m_lineEdit, SIGNAL(textChanged(const QString &)), window, SLOT(find(const QString &)));
+ connect(m_lineEdit, SIGNAL(returnPressed()), mainwindow, SLOT(findNext()));
layout->addWidget(m_lineEdit);
// buttons