From e7654d9aa213a90fe957876b22f3a21d0a6cabab Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sat, 5 Nov 2016 13:10:51 +0100 Subject: [PATCH] Re-Fix #8471 The bug has partly been re-introduced with fb9a866a6 --- src/insets/InsetArgument.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/insets/InsetArgument.cpp b/src/insets/InsetArgument.cpp index 70dc995699..6ba49c7aef 100644 --- a/src/insets/InsetArgument.cpp +++ b/src/insets/InsetArgument.cpp @@ -175,10 +175,12 @@ void InsetArgument::doDispatch(Cursor & cur, FuncRequest & cmd) case LFUN_CLIPBOARD_PASTE: case LFUN_SELECTION_PASTE: case LFUN_PRIMARY_SELECTION_PASTE: - // Do not call InsetCollapsable::doDispatch(cur, cmd) - // with (inherited) pass_thru to avoid call for - // fixParagraphsFont(), which does not play nicely with - // inherited pass_thru (see #8471). + case LFUN_SELF_INSERT: + // With (only) inherited pass_thru, call Text::dispatch() + // directly to avoid call for fixParagraphsFont() and/or + // forcing to latex_language in InsetText::dispatch(), + // since this does not play nicely with inherited pass_thru + // (see #8471). if (pass_thru_ && !pass_thru_local_) text().dispatch(cur, cmd); else -- 2.39.2