]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiCommandBuffer.cpp
Fix handling of the add branch textfield in GuiBranches
[lyx.git] / src / frontends / qt4 / GuiCommandBuffer.cpp
index 176725016654e600d9fce28b649c221ad7d84795..0d19a492425943ba9c9f9a0d42e25f6e66fc693f 100644 (file)
@@ -18,7 +18,6 @@
 #include "GuiCommandEdit.h"
 #include "GuiView.h"
 #include "qt_helpers.h"
-#include "Validator.h"
 
 #include "BufferView.h"
 #include "Cursor.h"
@@ -108,7 +107,6 @@ GuiCommandBuffer::GuiCommandBuffer(GuiView * view)
        edit_ = new GuiCommandEdit(this);
        edit_->setMinimumSize(edit_->sizeHint());
        edit_->setFocusPolicy(Qt::ClickFocus);
-       edit_->setValidator(new NoNewLineValidator(edit_));
 
        connect(edit_, SIGNAL(escapePressed()), this, SLOT(cancel()));
        connect(edit_, SIGNAL(returnPressed()), this, SLOT(dispatch()));