Am Mittwoch, dem 12.03.2025 um 11:38 +0100 schrieb Jean-Marc Lasgouttes: > Isn't it possible to have a single model for these colors and use it > in several combo boxes? I see 21 calls to updateCustomColors just to > open the document settings on an empty document.
I've done this now. The only thing I didn't manage to implement is the " (Default)" flag for the default color in a combo when the combo is collapsed (it is shown when expanded). Otherwise it seems to work as expected. I haven't done any speed improvement measurements, though. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-devel