From: Juergen Spitzmueller Date: Fri, 19 Apr 2019 07:53:42 +0000 (+0200) Subject: The Author(Year) label format is also mandatory for numeric natbib! X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ec9d89e63fadefec7dea1771c3249bec6d29ce70;p=features.git The Author(Year) label format is also mandatory for numeric natbib! --- 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);