From cfdda3ad0868018fca9d5a0b6a0e48dc790259d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Sat, 11 Jul 2009 05:08:44 +0000 Subject: [PATCH] * Buffer.cpp (renameBranches): record undo. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30459 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Buffer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 53ade6faf3..1f1db9e446 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -2438,6 +2438,7 @@ void Buffer::renameBranches(docstring const & oldname, docstring const & newname // get buffer of external file InsetBranch & br = static_cast(*iit->inset); + undo().recordUndo(it); if (br.branch() == oldname) br.rename(newname); continue;