[LyX/master] No need to set background color of a newly created branch.
lasgouttes at lyx.org
Wed Feb 3 14:56:50 UTC 2021
Le 30/01/2021 à 09:09, Jürgen Spitzmüller a écrit :
> Am Freitag, dem 29.01.2021 um 18:28 +0100 schrieb Jean-Marc Lasgouttes:
>> commit 5145694cd067e221a661e0d6c7dce4ed5ca22e37
>> Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
>> Date: Fri Jan 29 18:29:55 2021 +0100
>> No need to set background color of a newly created branch.
>> Fixes a null pointer dereference spotted by coverity.
> After this, new branches get the wrong background color (to be seen in
> dark mode).
I do not like the fact that Buffer shall know what the color of a branch
should be. Such an object should be viable right away after its
construction. I started a patch, but I'll return to it later if I find time.
More information about the lyx-devel