commit 7cadacb19bdf2ecc00289428c1b3ad76a8a11b35
Author: Juergen Spitzmueller <[email protected]>
Date:   Fri Apr 19 09:53:42 2019 +0200

    The Author(Year) label format is also mandatory for numeric natbib!
---
 src/frontends/qt4/GuiBibitem.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/frontends/qt4/GuiBibitem.cpp b/src/frontends/qt4/GuiBibitem.cpp
index 84bffe4..e444f36 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);

Reply via email to