]> git.lyx.org Git - features.git/commitdiff
breakParagraphConservative(): don't forget to set the inset owner. This is the real...
authorAbdelrazak Younes <younes@lyx.org>
Fri, 12 Sep 2008 14:49:50 +0000 (14:49 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 12 Sep 2008 14:49:50 +0000 (14:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26374 a592a061-630c-0410-9148-cb99ea01b6c8

src/paragraph_funcs.cpp

index b987be0f7444fc63f13ec4167363cd25122e2c6b..9df71299ee43353f883e097d4e3d465b763e26c9 100644 (file)
@@ -164,6 +164,7 @@ void breakParagraphConservative(BufferParams const & bparams,
        Paragraph & par = pars[par_offset];
 
        tmp.makeSameLayout(par);
+       tmp.setInsetOwner(par.inInset());
 
        LASSERT(pos <= par.size(), /**/);