From 406d71013189d79c223479aa7336073f8216e962 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Thu, 18 Jun 2015 14:17:18 +0200 Subject: [PATCH] Force local font switch in caption. It is needed with polyglossia. With babel, it does not harm (and looks more sensible). --- src/insets/InsetCaption.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/insets/InsetCaption.h b/src/insets/InsetCaption.h index cd99455b2e..26b3b26041 100644 --- a/src/insets/InsetCaption.h +++ b/src/insets/InsetCaption.h @@ -42,6 +42,8 @@ private: /// bool neverIndent() const { return true; } /// + bool forceLocalFontSwitch() const { return true; } + /// InsetCode lyxCode() const { return CAPTION_CODE; } /// void cursorPos(BufferView const & bv, -- 2.39.2