From ec9d89e63fadefec7dea1771c3249bec6d29ce70 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 19 Apr 2019 09:53:42 +0200 Subject: [PATCH] The Author(Year) label format is also mandatory for numeric natbib! --- src/frontends/qt4/GuiBibitem.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiBibitem.cpp b/src/frontends/qt4/GuiBibitem.cpp index 84bffe4d7d..e444f36403 100644 --- a/src/frontends/qt4/GuiBibitem.cpp +++ b/src/frontends/qt4/GuiBibitem.cpp @@ -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); -- 2.39.5