Jean-Marc Lasgouttes wrote:
>>>>>> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes:
> 
> Peter> In void GuiView::updateTab() I make use of the stl to rebuild
> Peter> the tab bar and I don't preserve the previous order.
> 
> Wow! This function seems terribly complicated to me. Could you explain
> why you can't just build the tab list from scratch everytime?
> 
> JMarc
> 

I've tried to minimize the reordering: when a file named as AAAAAAA.lyx is
opened it will be not at the first place (which would be the case when I rebuild
the tabbar from scratch) but on the right, only when a already
existing tab is removed and a new one is added-which happens by renaming-
the code doesn't work.

Peter

Reply via email to