3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS
11 #include "QCommandEdit.h"
13 QCommandEdit::QCommandEdit(QWidget * parent)
16 setFocusPolicy(QWidget::ClickFocus);
20 void QCommandEdit::keyPressEvent(QKeyEvent * e)
36 if (cursorPosition() == text().length())
39 QLineEdit::keyPressEvent(e);
43 QLineEdit::keyPressEvent(e);