]> git.lyx.org Git - features.git/commitdiff
Fix silly bug spotted by Vincent in r26372
authorAbdelrazak Younes <younes@lyx.org>
Sat, 13 Sep 2008 12:16:50 +0000 (12:16 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 13 Sep 2008 12:16:50 +0000 (12:16 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26381 a592a061-630c-0410-9148-cb99ea01b6c8

src/paragraph_funcs.cpp

index 9df71299ee43353f883e097d4e3d465b763e26c9..dc32425ea238d999f6a3f98489238eacf79de2cc 100644 (file)
@@ -48,7 +48,7 @@ static bool moveItem(Paragraph & fromPar, pos_type fromPos,
                }
 
                Inset * inset = toPar.inInset();
-               if (inset && inset->insetAllowed(tmpInset->lyxCode())) {
+               if (inset && !inset->insetAllowed(tmpInset->lyxCode())) {
                        delete tmpInset;
                        return false;
                }