mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix bug 4170: Close window when user wants it closed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19889 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f6e94c8b24
commit
58d97d01d8
@ -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());
|
||||
}
|
||||
|
||||
release(buf);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user