mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix silly bug that makes it impossible to change bibitem keys.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26114 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7bff1e62b5
commit
4af444926a
@ -116,9 +116,9 @@ void InsetBibitem::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
cur.noUpdate();
|
||||
break;
|
||||
}
|
||||
docstring old_key = params()["key"];
|
||||
docstring const & old_key = params()["key"];
|
||||
setParam("label", p["label"]);
|
||||
if (params()["key"] != old_key) {
|
||||
if (p["key"] != old_key) {
|
||||
updateCommand(p["key"]);
|
||||
cur.bv().buffer().changeRefsIfUnique(old_key,
|
||||
params()["key"], CITE_CODE);
|
||||
|
Loading…
Reference in New Issue
Block a user