mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Fix renaming of citation refs after changing bibitem key
Fixes: #6494
(cherry picked from commit faefee3dc6
)
This commit is contained in:
parent
c041412f08
commit
4104cd13a5
@ -155,8 +155,9 @@ void InsetBibitem::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
setParam("literal", p["literal"]);
|
||||
|
||||
if (p["key"] != old_key) {
|
||||
cur.recordUndoFullBuffer();
|
||||
cur.bv().buffer().changeRefsIfUnique(old_key, p["key"]);
|
||||
updateCommand(p["key"]);
|
||||
cur.bv().buffer().changeRefsIfUnique(old_key, params()["key"]);
|
||||
cur.forceBufferUpdate();
|
||||
buffer().invalidateBibinfoCache();
|
||||
}
|
||||
|
@ -34,6 +34,9 @@ What's new
|
||||
|
||||
- Allow nameref in math references (bug 9798).
|
||||
|
||||
- Fix renaming of citation references after changing bibliography key
|
||||
(bug 6494).
|
||||
|
||||
- Make tab movement visible (bug 10733).
|
||||
|
||||
- Add "Reset" and "Reset All Fields" buttons to Text Properties
|
||||
@ -54,7 +57,7 @@ What's new
|
||||
- Improve performance on Windows with lots of math insets or very long
|
||||
math formulas (bug 11546).
|
||||
|
||||
- Add Shortcut (Comand-0) for workaera zoom reset to mac.bind.
|
||||
- Add Shortcut (Command-0) for workarwa zoom reset to mac.bind.
|
||||
|
||||
- Improve some icons (bug 11476).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user