Give a visual feedback that the BibTeX key could not be found.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40349 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Julien Rioux 2011-12-03 22:24:44 +00:00
parent 66b51a0a44
commit 7aee04217d

View File

@ -666,7 +666,7 @@ docstring const BiblioInfo::getInfo(docstring const & key,
{
BiblioInfo::const_iterator it = find(key);
if (it == end())
return docstring();
return docstring(_("BibTeX entry not found!"));
BibTeXInfo const & data = it->second;
BibTeXInfo const * xrefptr = 0;
docstring const xref = data.getXRef();