From 953df3089463f3c240ba89adcf966064ebbc642a Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 26 Mar 2018 15:50:35 +0200 Subject: [PATCH] Fix use of default biblio_style Fixes: #11088 --- src/BufferParams.cpp | 5 ++++- status.23x | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp index b709b16a54..827823d8ba 100644 --- a/src/BufferParams.cpp +++ b/src/BufferParams.cpp @@ -394,7 +394,7 @@ BufferParams::BufferParams() papersize = PAPER_DEFAULT; orientation = ORIENTATION_PORTRAIT; use_geometry = false; - biblio_style = "plain"; + biblio_style = string(); use_bibtopic = false; multibib = string(); use_indices = false; @@ -3426,6 +3426,9 @@ bool BufferParams::addCiteEngine(vector const & engine) string const & BufferParams::defaultBiblioStyle() const { + if (!biblio_style.empty()) + return biblio_style; + map const & bs = documentClass().defaultBiblioStyle(); auto cit = bs.find(theCiteEnginesList.getTypeAsString(citeEngineType())); if (cit != bs.end()) diff --git a/status.23x b/status.23x index d86dbd5bff..7f78e1dce3 100644 --- a/status.23x +++ b/status.23x @@ -122,6 +122,9 @@ What's new - Take actual font height into account when drawing placeholder box for graphics (bug 11048). +- Correctly set degault bibliography style in the Document Settings + dialog (bug 11088). + * INTERNALS