From a0e5ee9fac73893847be9225f3c2f8df9441140a Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Wed, 22 Aug 2007 09:04:31 +0000 Subject: [PATCH] * restore lastfile feature. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19718 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/LyXView.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontends/LyXView.cpp b/src/frontends/LyXView.cpp index a5bf70a1f6..14aae66a14 100644 --- a/src/frontends/LyXView.cpp +++ b/src/frontends/LyXView.cpp @@ -159,6 +159,9 @@ Buffer * LyXView::loadLyXFile(FileName const & filename, bool tolastfiles) } } + if (tolastfiles) + LyX::ref().session().lastFiles().add(filename); + busy(false); return newBuffer; }