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
13 #include "QCommandEdit.h"
16 QCommandEdit::QCommandEdit(QWidget * parent)
19 setFocusPolicy(QWidget::ClickFocus);
23 void QCommandEdit::keyPressEvent(QKeyEvent * e)
39 if (cursorPosition() == text().length())
42 QLineEdit::keyPressEvent(e);
46 QLineEdit::keyPressEvent(e);