* restore lastfile feature.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19718 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-08-22 09:04:31 +00:00
parent 13a2812c22
commit a0e5ee9fac

View File

@ -159,6 +159,9 @@ Buffer * LyXView::loadLyXFile(FileName const & filename, bool tolastfiles)
} }
} }
if (tolastfiles)
LyX::ref().session().lastFiles().add(filename);
busy(false); busy(false);
return newBuffer; return newBuffer;
} }