The Author(Year) label format is also mandatory for numeric natbib!

This commit is contained in:
Juergen Spitzmueller 2019-04-19 09:53:42 +02:00
parent e97546c9a8
commit 7cadacb19b

View File

@ -52,8 +52,7 @@ void GuiBibitem::paramsToDialog(Inset const * inset)
keyED->setText(toqstr(params["key"]));
literalCB->setChecked(params["literal"] == "true");
QString const label = toqstr(params["label"]);
BufferParams const bp = inset->buffer().masterParams();
if (bp.citeEngine() == "natbib" && bp.citeEngineType() == ENGINE_TYPE_AUTHORYEAR) {
if (inset->buffer().masterParams().citeEngine() == "natbib") {
yearED->setHidden(false);
yearLA->setHidden(false);
allAuthorsED->setHidden(false);