From: Vincent van Ravesteijn Date: Wed, 19 Aug 2009 21:18:34 +0000 (+0000) Subject: Forgot this. This is no longer necessary as we write the session file before closing... X-Git-Tag: 2.0.0~5640 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5ed9b3f33ee9f12dd52cc75634a390154cf0659d;p=lyx.git 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 --- diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index c92103062a..9fd5343381 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -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