From 93ae7c8c33e15b3b0a64d8df890d95a320b0f864 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Wed, 8 Oct 2008 14:06:20 +0000 Subject: [PATCH] Oups... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26811 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Paragraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 34a1c6aa5c..1b6d5f7ccd 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -457,7 +457,7 @@ bool Paragraph::insertInset(pos_type pos, Inset * inset, // Paragraph::insertInset() can be used in cut/copy/paste operation where // d->inset_owner_ is not set yet. - if (d->inset_owner_ && d->inset_owner_->insetAllowed(inset->lyxCode())) + if (d->inset_owner_ && !d->inset_owner_->insetAllowed(inset->lyxCode())) return false; d->insertChar(pos, META_INSET, change); -- 2.39.2