mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
* Buffer.cpp (renameBranches): record undo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30459 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4a7bb9541f
commit
cfdda3ad08
@ -2438,6 +2438,7 @@ void Buffer::renameBranches(docstring const & oldname, docstring const & newname
|
||||
// get buffer of external file
|
||||
InsetBranch & br =
|
||||
static_cast<InsetBranch &>(*iit->inset);
|
||||
undo().recordUndo(it);
|
||||
if (br.branch() == oldname)
|
||||
br.rename(newname);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user