]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiView.cpp
Forgot this. This is no longer necessary as we write the session file before closing...
[features.git] / src / frontends / qt4 / GuiView.cpp
index c92103062a2825b8e5ac76032da303c7e8ca9d83..9fd5343381859b8104237d4b5487e40ae3513d20 100644 (file)
@@ -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