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

Enrico Forestieri forenr at lyx.org
Sat Apr 10 08:46:18 UTC 2021


On Fri, Apr 09, 2021 at 07:00:32PM +0200, Jean-Marc Lasgouttes wrote:
> commit 59f63602f5bc4a9dd3426761dceb9cb5aa4e656a
> Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
> Date:   Fri Apr 9 19:06:28 2021 +0200
> 
>     The foot inset does not inherit fonts
>     
>     Fixes bug #12238.
> ---
>  src/insets/InsetFoot.h |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/src/insets/InsetFoot.h b/src/insets/InsetFoot.h
> index 1e4b0d2..30971c6 100644
> --- a/src/insets/InsetFoot.h
> +++ b/src/insets/InsetFoot.h
> @@ -45,8 +45,6 @@ private:
>  	///
>  	Inset * clone() const override { return new InsetFoot(*this); }
>  	///
> -	bool inheritFont() const override { return true; }
> -	///
>  	bool allowMultiPar() const override { return true; }
>  	///
>  	docstring custom_label_;

I think you reintroduced https://www.lyx.org/trac/ticket/10263

-- 
Enrico


More information about the lyx-devel mailing list