Disallow newlines in biblatex options

Fixes: #10757
This commit is contained in:
Juergen Spitzmueller 2017-09-10 10:05:10 +02:00
parent b186b08cff
commit eff50597c0

View 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();