From e71be32d2af0785da431b93c9f287604fa849f67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Sat, 16 May 2009 15:39:03 +0000 Subject: [PATCH] * 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 --- src/insets/InsetCollapsable.cpp | 1 + 1 file changed, 1 insertion(+) 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