mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Use default btprint value in the UI if none is given.
This commit is contained in:
parent
eff50597c0
commit
ed1b67b7ca
@ -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