]> git.lyx.org Git - lyx.git/commitdiff
Disallow newlines in biblatex options
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 10 Sep 2017 08:05:10 +0000 (10:05 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 10 Sep 2017 08:06:47 +0000 (10:06 +0200)
Fixes: #10757
src/frontends/qt4/GuiDocument.cpp

index e980921f62868e728a9241435838aac16df9ad02..d3232a2ee123fbdab860decc5092d1f5a01dbfb8 100644 (file)
@@ -1185,6 +1185,8 @@ GuiDocument::GuiDocument(GuiView & lv)
                biblioModule->bibtexOptionsLE));
        biblioModule->defaultBiblioCO->lineEdit()->setValidator(new NoNewLineValidator(
                biblioModule->defaultBiblioCO->lineEdit()));
+       biblioModule->citePackageOptionsLE->setValidator(new NoNewLineValidator(
+               biblioModule->citePackageOptionsLE));
 
        // NOTE: we do not provide "custom" here for security reasons!
        biblioModule->bibtexCO->clear();