mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
I prefer this style....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35533 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1def3de92e
commit
2f1af8892b
@ -2329,9 +2329,9 @@ bool GuiView::closeBuffer(Buffer & buf)
|
||||
// buffer, we can close or release the child buffers here too.
|
||||
if (!closing_) {
|
||||
ListOfBuffers clist = buf.getChildren(false);
|
||||
ListOfBuffers::const_iterator it = clist.begin();
|
||||
ListOfBuffers::const_iterator const bend = clist.end();
|
||||
for (ListOfBuffers::const_iterator it = clist.begin();
|
||||
it != bend; ++it) {
|
||||
for (; it != bend; ++it) {
|
||||
// If a child is dirty, do not close
|
||||
// without user intervention
|
||||
//FIXME: should we look in other tabworkareas?
|
||||
|
Loading…
Reference in New Issue
Block a user