branch: Do not remember documents for next startup when closing a window but not closing LyX.

see r31148.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31701 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-10-24 10:57:29 +00:00
parent 9610852f65
commit 54fc638382
2 changed files with 6 additions and 0 deletions

View File

@ -825,6 +825,9 @@ bool GuiApplication::dispatch(FuncRequest const & cmd)
// update bookmark pit of the current buffer before window close
for (size_t i = 0; i < theSession().bookmarks().size(); ++i)
theLyXFunc().gotoBookmark(i+1, false, false);
// clear the last opened list, because
// maybe this will end the session
theSession().lastOpened().clear();
current_view_->close();
break;

View File

@ -229,6 +229,9 @@ What's new
- If a static EndLabelString is defined in a layout file it is now
correctly displayed on screen (bug 2972).
- Do not remember documents for next startup when closing a window
but not closing LyX.
* DOCUMENTATION AND LOCALIZATION