]> git.lyx.org Git - features.git/commitdiff
The Author(Year) label format is also mandatory for numeric natbib!
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 19 Apr 2019 07:53:42 +0000 (09:53 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 19 Apr 2019 07:53:42 +0000 (09:53 +0200)
src/frontends/qt4/GuiBibitem.cpp

index 84bffe4d7d508ca91a54fa19db84629f0bdf892c..e444f3640319546a720e151b1746d40abd39aebb 100644 (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);