commit 1ba330722632b361f5f0838e8200450352c5cce8
Author: Pavel Sanda <[email protected]>
Date:   Tue Feb 16 08:52:21 2021 +0100

    GuiSearch did not work with num. keypad enter
---
 src/frontends/qt/GuiSearch.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/frontends/qt/GuiSearch.cpp b/src/frontends/qt/GuiSearch.cpp
index a66ba00..639fbf1 100644
--- a/src/frontends/qt/GuiSearch.cpp
+++ b/src/frontends/qt/GuiSearch.cpp
@@ -105,7 +105,7 @@ void GuiSearchWidget::keyPressEvent(QKeyEvent * ev)
        setKeySymbol(&sym, ev);
 
        // catch Return and Shift-Return
-       if (ev->key() == Qt::Key_Return) {
+       if (ev->key() == Qt::Key_Return || ev->key() == Qt::Key_Enter) {
                findClicked(ev->modifiers() == Qt::ShiftModifier);
                return;
        }
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to