mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
GuiSearch did not work with num. keypad enter
This commit is contained in:
parent
5980afaee0
commit
1ba3307226
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user