mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
More style polishing
This commit is contained in:
parent
6bb72cc28c
commit
375bb32a3d
@ -506,7 +506,7 @@ PreambleModule::PreambleModule(QWidget * parent)
|
|||||||
bool PreambleModule::eventFilter(QObject * sender, QEvent * event)
|
bool PreambleModule::eventFilter(QObject * sender, QEvent * event)
|
||||||
{
|
{
|
||||||
if (sender == findLE) {
|
if (sender == findLE) {
|
||||||
if (event->type()==QEvent::KeyPress) {
|
if (event->type() == QEvent::KeyPress) {
|
||||||
QKeyEvent * key = static_cast<QKeyEvent *>(event);
|
QKeyEvent * key = static_cast<QKeyEvent *>(event);
|
||||||
if ((key->key() == Qt::Key_Enter) || (key->key() == Qt::Key_Return)) {
|
if ((key->key() == Qt::Key_Enter) || (key->key() == Qt::Key_Return)) {
|
||||||
findText();
|
findText();
|
||||||
|
Loading…
Reference in New Issue
Block a user