mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Forgot this bit.
The only remaining problem here is that, if you edit the TEXT that goes with an InsetBibitem, then the information in the citation will not get updated until something else invalidates the cache. The only way to fix this, given the existing system, would seem to be to check, every time anything gets edited, whether we're in a Bibliography environment or not, and if so to invalidate the cache. I'm not sure that is worth it. Really, it points to a more general issue with InsetBibitem, IMHO: It ought to be a kind of combined inset, a hybrid of sorts between an InsetCollapsable and an InsetCommand. But that would be for 1.7.x at least. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25138 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8a64579d9c
commit
f65bb20bfe
@ -122,6 +122,7 @@ void InsetBibitem::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
if (params()["key"] != old_key)
|
||||
cur.bv().buffer().changeRefsIfUnique(old_key,
|
||||
params()["key"], CITE_CODE);
|
||||
buffer_->invalidateBibinfoCache();
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user