>>>>> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:

Abdelrazak> Jean-Marc Lasgouttes wrote:
>> When creating a new document, I see: Trying to select non existent
>> layout type Standard
>> 
>> This is because LyXView::setBuffer sets the layout before updating
>> layout list.
>> 
>> Abdel, is the following patch OK?

Abdelrazak> Hum I atalked too fast, sorry.

Abdelrazak> updateLayoutChoice() is doing different things if there is
Abdelrazak> a visible Buffer. This is guaranteed only after the check
Abdelrazak> on BufferView::buffer() so I think the aatched patch is
Abdelrazak> more correct.

You may be right indeed. But it seems that updateLayoutChoice does a
setLayout. Is it necessary to do another one?

I'll let you clean up my mess :) You know this part better than I do,
these days.

JMarc

Reply via email to