]> git.lyx.org Git - features.git/commitdiff
* InsetCollapsable.cpp (doDispatch):
authorJürgen Spitzmüller <spitz@lyx.org>
Sat, 16 May 2009 15:39:03 +0000 (15:39 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Sat, 16 May 2009 15:39:03 +0000 (15:39 +0000)
- 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

index 4af355c29c8f175f80dd3f3411c1b3c88a81d913..89e912cd47000190066cede98ead4db3ac327b6b 100644 (file)
@@ -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