Create a new document. Use a text editor to make the cite engine
"NotExist". Open the document and try to insert a citation. Boom!
The crash is here:
bool BufferParams::useBiblatex() const
{
return theCiteEnginesList[citeEngine()]->getCiteFramework() ==
"biblatex";
}
Because theCiteEnginesList[citeEngine()] returns a null pointer.
It would be easy enough to check here if the cite engine exists. But
perhaps the better thing to do would be to create a 'dummy' cite engine
file when we initially notice that the requested cite engine does not
exist? I'm not familiar enough with this code to know what is best.
Riki
--
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel