>> There was the fact that document got added to the recently loaded >> list, if I remember. I think this is related to the way you add >> these files to the 'files' vector. It may be better (if possible) >> to load them directly.
lastopenedfiles they should be loaded with second argument false to BufferView::loadLyXFile.
The second argument is tolastfiles. Why auto loaded files can not go to lastfiles?
Yes, I know. But I suspect this was not the right problem. What we should do anyway is skip loading a file if it is already loaded.
There is a revert to file problem. It is not wise to check if it is loading time for this though. I guess we can look at the status of the existing file, if it has no changes, just switch to it. Bo
