mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
Fix bug 4170: Close window when user wants it closed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19890 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0471fe4eea
commit
98a7516921
@ -226,14 +226,10 @@ bool BufferList::close(Buffer * buf, bool const ask)
|
||||
return false;
|
||||
} else if (!menuWrite(buf))
|
||||
return false;
|
||||
else
|
||||
return false;
|
||||
} else if (ret == 2)
|
||||
return false;
|
||||
|
||||
if (buf->isUnnamed()) {
|
||||
removeAutosaveFile(buf->fileName());
|
||||
}
|
||||
|
||||
removeAutosaveFile(buf->fileName());
|
||||
|
||||
release(buf);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user