]> git.lyx.org Git - lyx.git/blobdiff - src/bufferlist.C
hopefully fix tex2lyx linking.
[lyx.git] / src / bufferlist.C
index f06ca0301c00bb32b817ec23895ba034abe046ca..fe6516fa4be836f54552ca53e9110a4d4d340f9b 100644 (file)
@@ -135,7 +135,7 @@ bool BufferList::quitWriteAll()
                // if master/slave are both open, do not save slave since it
                // will be automatically loaded when the master is loaded
                if ((*it)->getMasterBuffer() == (*it))
-                       LyX::ref().session().addLastOpenedFile((*it)->fileName());
+                       LyX::ref().session().lastOpened().add((*it)->fileName());
        }
 
        return true;