]> git.lyx.org Git - features.git/commit
Deal with a UI bug discussed on the list.
authorRichard Heck <rgheck@comcast.net>
Mon, 6 Aug 2007 04:14:26 +0000 (04:14 +0000)
committerRichard Heck <rgheck@comcast.net>
Mon, 6 Aug 2007 04:14:26 +0000 (04:14 +0000)
commit47b9d13bb756a63d2933da494c92f59f4d62cdf5
treebdb77cbc09613e70693486c54593cdf75f74ecf8
parent5f3c793d81c092149ba9e4df036f6580e587d53e
Deal with a UI bug discussed on the list.
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.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19331 a592a061-630c-0410-9148-cb99ea01b6c8
src/buffer_funcs.cpp
src/buffer_funcs.h
src/frontends/LyXView.cpp