mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-19 05:53:35 +00:00
branch: Fix bug #5458: File reopens at LyX-start even though it was closed in previous session.
see r29596. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30513 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
51521e44ab
commit
25aa3d4022
@ -1394,6 +1394,10 @@ bool GuiApplication::closeAllViews()
|
||||
if (d->views_.empty())
|
||||
return true;
|
||||
|
||||
// When a view/window was closed before without quitting LyX, there
|
||||
// are already entries in the lastOpened list.
|
||||
theSession().lastOpened().clear();
|
||||
|
||||
QList<GuiView *> views = d->views_.values();
|
||||
foreach (GuiView * view, views) {
|
||||
if (!view->close())
|
||||
|
@ -208,6 +208,9 @@ What's new
|
||||
|
||||
- Make it possible to copy from a deleted section (bug 5390).
|
||||
|
||||
- Do not open files during startup that were closed in the previous
|
||||
session by Close View or Close Window (bug 5458).
|
||||
|
||||
|
||||
* DOCUMENTATION AND LOCALIZATION
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user