]> git.lyx.org Git - lyx.git/blobdiff - src/text2.C
Fixed cut&paste bugs and added freespacing for ERT Insets.
[lyx.git] / src / text2.C
index 3350c4367b97c1423733f840c6e97a7bc37dbac7..0c092dff9a053ace05a83a13e0f4d6d0990dc799 100644 (file)
@@ -2376,8 +2376,11 @@ void LyXText::deleteEmptyParagraphMechanism(BufferView * bview,
 
        // We allow all kinds of "mumbo-jumbo" when freespacing.
        if (textclasslist.Style(bview->buffer()->params.textclass,
-                               old_cursor.par()->getLayout()).free_spacing)
+                                                       old_cursor.par()->getLayout()).free_spacing ||
+               old_cursor.par()->isFreeSpacing())
+       {
                return;
+       }
 
        bool deleted = false;