]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiIndices.cpp
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / GuiIndices.cpp
index 02d021014b6c08efd0a5d10de41adbfd99a05b13..8694b98cd74184171128ceb621e881138e5a1176 100644 (file)
@@ -60,6 +60,9 @@ GuiIndices::GuiIndices(QWidget * parent)
                QString const command = toqstr(*it).left(toqstr(*it).indexOf(" "));
                indexCO->addItem(command, command);
        }
+
+       indexOptionsLE->setValidator(new NoNewLineValidator(indexOptionsLE));
+       newIndexLE->setValidator(new NoNewLineValidator(newIndexLE));
 }
 
 void GuiIndices::update(BufferParams const & params)