commit 7660d14875c9d8b8b83f134c5ac8ffbe12f846cc
Author: Scott Kostyshak <[email protected]>
Date: Sat Apr 12 13:20:18 2025 +0200
Comments
---
src/insets/InsetBibtex.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/insets/InsetBibtex.cpp b/src/insets/InsetBibtex.cpp
index a6482d9315..e96f9d4d9d 100644
--- a/src/insets/InsetBibtex.cpp
+++ b/src/insets/InsetBibtex.cpp
@@ -178,6 +178,7 @@ docstring InsetBibtex::screenLabel() const
{
docstring res;
if (getParam("bibfiles").empty())
+ // additionally, in updateBuffer(), we setBroken() in this case.
res = _("EMPTY: ");
res += usingBiblatex() ? _("Biblatex Generated Bibliography")
: _("BibTeX Generated Bibliography");
@@ -939,6 +940,7 @@ void InsetBibtex::updateBuffer(ParIterator const &,
UpdateType, bool const /*del
if (invalidate)
buffer().invalidateBibinfoCache();
+ // additionally, in screenLabel(), we prepend string "EMPTY".
setBroken(getParam("bibfiles").empty());
}
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs