http://bugzilla.lyx.org/show_bug.cgi?id=3990

Attached.

Abdel.
Index: CutAndPaste.cpp
===================================================================
--- CutAndPaste.cpp     (revision 19003)
+++ CutAndPaste.cpp     (working copy)
@@ -413,6 +413,8 @@
 void switchBetweenClasses(textclass_type c1, textclass_type c2,
        InsetText & in, ErrorList & errorlist)
 {
+       errorlist.clear();
+
        BOOST_ASSERT(!in.paragraphs().empty());
        if (c1 == c2)
                return;

Reply via email to