[LyX/master] Do not reset font in preview inset

Juergen Spitzmueller spitz at lyx.org
Wed Dec 2 13:33:39 UTC 2020


commit fedd9bf4d0e7c2d06237925d4452f2377c752ec2
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Wed Dec 2 15:03:21 2020 +0100

    Do not reset font in preview inset
---
 src/insets/InsetPreview.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/insets/InsetPreview.h b/src/insets/InsetPreview.h
index 91c579a..ca6641a 100644
--- a/src/insets/InsetPreview.h
+++ b/src/insets/InsetPreview.h
@@ -45,8 +45,6 @@ public:
 
 	bool neverIndent() const override { return true; }
 
-	bool inheritFont() const override { return false; }
-
 	InsetCode lyxCode() const override { return PREVIEW_CODE; }
 
 	docstring layoutName() const override { return from_ascii("Preview"); }


More information about the lyx-cvs mailing list