mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Use default btprint value in the UI if none is given.
This commit is contained in:
parent
1adfb8a6c7
commit
abc145f250
@ -338,7 +338,11 @@ void GuiBibtex::updateContents()
|
||||
if (usingBiblatex() && !buffer().masterParams().multibib.empty())
|
||||
btPrintCO->addItem(qt_("all reference units"), toqstr("bibbysection"));
|
||||
|
||||
btPrintCO->setCurrentIndex(btPrintCO->findData(toqstr(params_["btprint"])));
|
||||
docstring btprint = params_["btprint"];
|
||||
if (btprint.empty())
|
||||
// default
|
||||
btprint = from_ascii("btPrintCited");
|
||||
btPrintCO->setCurrentIndex(btPrintCO->findData(toqstr(btprint)));
|
||||
|
||||
// Only useful for biblatex
|
||||
biblatexOptsLA->setVisible(biblatex);
|
||||
|
Loading…
Reference in New Issue
Block a user