X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbufferlist.C;h=fe6516fa4be836f54552ca53e9110a4d4d340f9b;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=f06ca0301c00bb32b817ec23895ba034abe046ca;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/bufferlist.C b/src/bufferlist.C index f06ca0301c..fe6516fa4b 100644 --- a/src/bufferlist.C +++ b/src/bufferlist.C @@ -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;