[LyX/master] Do not update statistics when not requested.

Jean-Marc Lasgouttes lasgouttes at lyx.org
Mon Oct 21 14:13:08 UTC 2024


Le 20/10/2024 à 21:52, Pavel Sanda a écrit :
> On Sat, Oct 19, 2024 at 05:07:00PM +0000, Jean-Marc Lasgouttes wrote:
>> commit c50debaffcccb4481bf440df1ab4b2d11d28a048
>> Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
>> Date:   Thu Oct 17 10:50:34 2024 +0200
>>
>>      Do not update statistics when not requested.
>>      
>>      If the user decides not to display statistics in the status bar, why
>>      do the computation at all?
> 
> No time to jump on the code, but I am pretty confident I hardcoded this tripple
> condition somewhere up in the stack, can you double check?

Your recollection is correct. I missed a test in the code.

The commit is reverted now and I did some small cleanups just to justify 
my presence in this file.

JMarc



More information about the lyx-devel mailing list