mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
* src/insets/InsetBibItem.cpp:
- fix duplicate vheck (bug 5035). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25614 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
281035e99a
commit
b264ae0dc0
@ -118,10 +118,11 @@ void InsetBibitem::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
}
|
||||
docstring old_key = params()["key"];
|
||||
setParam("label", p["label"]);
|
||||
updateCommand(p["key"]);
|
||||
if (params()["key"] != old_key)
|
||||
if (params()["key"] != old_key) {
|
||||
updateCommand(p["key"]);
|
||||
cur.bv().buffer().changeRefsIfUnique(old_key,
|
||||
params()["key"], CITE_CODE);
|
||||
}
|
||||
buffer_->invalidateBibinfoCache();
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user