mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
Do not save files when quitting when running with no gui.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1436 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a0e6ddd7f4
commit
4467a45110
@ -1,3 +1,7 @@
|
||||
2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
|
||||
|
||||
* lyx_cb.C (QuitLyX): Do not save files when running with no gui.
|
||||
|
||||
2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
|
||||
|
||||
* BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
|
||||
|
@ -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…
Reference in New Issue
Block a user