#include "gettext.h"
#include "iterators.h"
#include "lyxtextclasslist.h"
-
+#include "undo_funcs.h"
#include "insets/inseterror.h"
using std::pair;
+ _("\nbecause of class conversion from\n")
+ tclass1.name() + _(" to ")
+ tclass2.name();
+ freezeUndo();
InsetError * new_inset = new InsetError(s);
LyXText * txt = current_view->getLyXText();
LyXCursor cur = txt->cursor;
txt->insertInset(current_view, new_inset);
txt->fullRebreak(current_view);
txt->setCursorIntern(current_view, cur.par(), cur.pos());
+ unFreezeUndo();
}
}
return ret;