[LyX/master] Revert "The foot inset does not inherit fonts"

Jean-Marc Lasgouttes lasgouttes at lyx.org
Sat Apr 10 11:36:35 UTC 2021


commit f41f88ac2d87b5a68169fb9b2161a33a459bebca
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date:   Sat Apr 10 13:44:07 2021 +0200

    Revert "The foot inset does not inherit fonts"
    
    Due to braindead semantics, this is not possible.
    
    This reverts commit 59f63602f5bc4a9dd3426761dceb9cb5aa4e656a.
---
 src/insets/InsetFoot.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/insets/InsetFoot.h b/src/insets/InsetFoot.h
index 30971c6..1e4b0d2 100644
--- a/src/insets/InsetFoot.h
+++ b/src/insets/InsetFoot.h
@@ -45,6 +45,8 @@ private:
 	///
 	Inset * clone() const override { return new InsetFoot(*this); }
 	///
+	bool inheritFont() const override { return true; }
+	///
 	bool allowMultiPar() const override { return true; }
 	///
 	docstring custom_label_;


More information about the lyx-cvs mailing list