mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Fix http://bugzilla.lyx.org/show_bug.cgi?id=5097 with a hammer. The correct fix would be to call setBuffer() inside pasteSelectionHelper() only for those inserted paragraphs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25977 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
aaa4169ece
commit
ff80da000e
@ -491,6 +491,7 @@ void updateLabels(Buffer const & buf, bool childonly)
|
||||
// start over the counters
|
||||
textclass.counters().reset();
|
||||
buf.clearReferenceCache();
|
||||
buf.inset().setBuffer(const_cast<Buffer &>(buf));
|
||||
buf.updateMacros();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user