mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix bug 3990: Wrong Paste Message between document with different Document Style
http://bugzilla.lyx.org/show_bug.cgi?id=3990 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19008 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fb77c3681e
commit
0c80805287
@ -413,6 +413,8 @@ docstring grabAndEraseSelection(Cursor & cur)
|
||||
void switchBetweenClasses(textclass_type c1, textclass_type c2,
|
||||
InsetText & in, ErrorList & errorlist)
|
||||
{
|
||||
errorlist.clear();
|
||||
|
||||
BOOST_ASSERT(!in.paragraphs().empty());
|
||||
if (c1 == c2)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user