From: Jürgen Spitzmüller Date: Sat, 16 May 2009 15:39:03 +0000 (+0000) Subject: * InsetCollapsable.cpp (doDispatch): X-Git-Tag: 2.0.0~6555 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e71be32d2af0785da431b93c9f287604fa849f67;p=features.git * 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 --- diff --git a/src/insets/InsetCollapsable.cpp b/src/insets/InsetCollapsable.cpp index 4af355c29c..89e912cd47 100644 --- a/src/insets/InsetCollapsable.cpp +++ b/src/insets/InsetCollapsable.cpp @@ -584,6 +584,7 @@ void InsetCollapsable::doDispatch(Cursor & cur, FuncRequest & cmd) case LFUN_PASTE: case LFUN_CLIPBOARD_PASTE: + case LFUN_SELECTION_PASTE: case LFUN_PRIMARY_SELECTION_PASTE: { InsetText::doDispatch(cur, cmd); // Since we can only store plain text, we must reset all