mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 08:44:01 +00:00
Do not save files when quitting when running with no gui.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@1437 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a4d1dd120d
commit
e6ae692c8c
@ -1,3 +1,7 @@
|
||||
2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
|
||||
|
||||
* src/lyx_cb.C (QuitLyX): Do not save files when running with no gui.
|
||||
|
||||
2001-02-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* src/version.h (LYX_VERSION): reset version to 1.1.6cvs
|
||||
|
@ -331,10 +331,12 @@ void QuitLyX()
|
||||
{
|
||||
lyxerr.debug() << "Running QuitLyX." << endl;
|
||||
|
||||
if (!bufferlist.QwriteAll())
|
||||
return;
|
||||
if (lyxrc.use_gui) {
|
||||
if (!bufferlist.QwriteAll())
|
||||
return;
|
||||
|
||||
lastfiles->writeFile(lyxrc.lastfiles);
|
||||
lastfiles->writeFile(lyxrc.lastfiles);
|
||||
}
|
||||
|
||||
// Set a flag that we do quitting from the program,
|
||||
// so no refreshes are necessary.
|
||||
|
Loading…
x
Reference in New Issue
Block a user