mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Forgot this. This is no longer necessary as we write the session file before closing workareas.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31152 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b45f8b96a6
commit
5ed9b3f33e
@ -1966,8 +1966,6 @@ bool GuiView::closeWorkArea(GuiWorkArea * wa, bool close_buffer,
|
||||
// save in sessions if requested
|
||||
// do not save childs if their master
|
||||
// is opened as well
|
||||
if (closing_)
|
||||
theSession().lastOpened().add(buf.fileName(), is_active);
|
||||
if (!close_buffer)
|
||||
removeWorkArea(wa);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user