Richard Heck wrote:
The attached patch deals with a UI bug that's been discussed here. The
effect is this: If you try to open a file that is already open, LyX (i)
checks if the buffer is dirty, and just switches buffers if it is not;
(ii) if it is, you get this message:
The document %1$s is already loaded and has unsaved changes.
Do you want to abandon your changes and reload the document?
[Reload] [Keep Changes]
If you hit the latter, you just get switched to the document.
I haven't looked at the code, but I've applied and tested and I like
this behavior!
Dov