* InsetCollapsable.cpp (doDispatch):

- reset paragraph fonts also after LFUN_SELECTION_PASTE.
	  This assures lang is set to latex in ERTs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29690 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2009-05-16 15:39:03 +00:00
parent 33c44db749
commit e71be32d2a

View File

@ -584,6 +584,7 @@ void InsetCollapsable::doDispatch(Cursor & cur, FuncRequest & cmd)
case LFUN_PASTE: case LFUN_PASTE:
case LFUN_CLIPBOARD_PASTE: case LFUN_CLIPBOARD_PASTE:
case LFUN_SELECTION_PASTE:
case LFUN_PRIMARY_SELECTION_PASTE: { case LFUN_PRIMARY_SELECTION_PASTE: {
InsetText::doDispatch(cur, cmd); InsetText::doDispatch(cur, cmd);
// Since we can only store plain text, we must reset all // Since we can only store plain text, we must reset all