]> git.lyx.org Git - features.git/commit
Move some code from Buffer::loadLyXFile to LyXVC::file_not_found_hook. Accoring to...
authorVincent van Ravesteijn <vfr@lyx.org>
Fri, 8 Jan 2010 18:48:36 +0000 (18:48 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Fri, 8 Jan 2010 18:48:36 +0000 (18:48 +0000)
commite0a6a7a542b97af5700b919a68ce6a3b317906f8
treeb3c071aa5cb863ca5fb7b892407811f8403905bd
parent67ddc3944cfc65425dcf63974cc23e0ed21f1c1a
Move some code from Buffer::loadLyXFile to LyXVC::file_not_found_hook. Accoring to the description of the latter, this should already be the case.

Furthermore, make sure that the read-only flag is always set to both true and false, since now the buffer can be read-only during a reload.

Last, set the buffer clean after a successful reload.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32896 a592a061-630c-0410-9148-cb99ea01b6c8
src/Buffer.cpp
src/LyXVC.cpp