]> git.lyx.org Git - features.git/commitdiff
Do not reset font in preview inset
authorJuergen Spitzmueller <spitz@lyx.org>
Wed, 2 Dec 2020 14:03:21 +0000 (15:03 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Wed, 2 Dec 2020 14:03:21 +0000 (15:03 +0100)
src/insets/InsetPreview.h

index 91c579ad374cd1c67c5c4d61010983519b39e817..ca6641a8869ca12854cba1a7c3c597f3965636f4 100644 (file)
@@ -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"); }