[LyX/master] More style polishing
Juergen Spitzmueller
spitz at lyx.org
Tue Sep 5 08:50:12 UTC 2023
commit 375bb32a3dd487e12039bea24bd00d3a578f3005
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Tue Sep 5 12:07:05 2023 +0200
More style polishing
---
src/frontends/qt/GuiDocument.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp
index 46f2a9c..a452168 100644
--- a/src/frontends/qt/GuiDocument.cpp
+++ b/src/frontends/qt/GuiDocument.cpp
@@ -506,7 +506,7 @@ PreambleModule::PreambleModule(QWidget * parent)
bool PreambleModule::eventFilter(QObject * sender, QEvent * event)
{
if (sender == findLE) {
- if (event->type()==QEvent::KeyPress) {
+ if (event->type() == QEvent::KeyPress) {
QKeyEvent * key = static_cast<QKeyEvent *>(event);
if ((key->key() == Qt::Key_Enter) || (key->key() == Qt::Key_Return)) {
findText();
More information about the lyx-cvs
mailing list