>> - i just got: lassert.cpp(21): ASSERTION view().currentMainWorkArea()
>> VIOLATED IN GuiWorkArea.cpp:1282 Assertion triggered in void 
>> lyx::doAssert(const char*, const char*, long int) by failing check
>> "false" in file  lassert.cpp:23
>>   
>>   when clicking on the advanced menu when no buffer is opened.
>>   
>
>I could reproduce this as: New, C-S-f, File->CloseBuffer. The attached
>patch (you'll likely get offsets, I have other non-committed changes)
>closes the dialog if it is open, when closing the document buffer
>(and fixed this use-case). May I commit ?
>

No. First, it doesn't fix the bug Pavel mentioned (it fixes no bug at
all). Second, it doesn't make sense to close the dialog whenever a
buffer is closed. Third, I don't understand why the LASSERT is there in
the first place. You can just remove it AFAICS.

Vincent

Reply via email to