Bug report: SIGSEGV when copying cross-reference from "description" layout on LyX 2.4.0 beta 5

Jürgen Spitzmüller jspitzm at gmail.com
Sat Sep 30 11:01:57 UTC 2023


Am Freitag, dem 15.09.2023 um 16:23 +0200 schrieb Jürgen Spitzmüller:
> Am Freitag, dem 15.09.2023 um 15:41 +0200 schrieb Thibaut Cuvelier:
> > Your patch looks fine to me.
> > 
> > It looks cumbersome, especially if we need to do that several
> > times;
> > maybe we could have a method at the inset level, say
> > getLocalFontOrDefault(const OutputParams&), to return either
> > OutputParams::local_font if it exists or buffer().params()
> > otherwise?
> > It would make correct code (much) easier to write.
> 
> I agree. Do you want to do that?

Did it.

-- 
Jürgen


More information about the lyx-devel mailing list