Don't forget bug in GuiImplementation::closeAllViews()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16251 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2006-12-12 10:54:37 +00:00
parent 5a68c1c0f3
commit 91abd65a92

View File

@ -100,7 +100,10 @@ bool GuiImplementation::closeAllViews()
std::map<int, GuiView*>::const_iterator it;
for (it = cmap.begin(); it != cmap.end(); ++it)
{
it->second->close();
// TODO: return false when close event was ignored
// e.g. quitWriteAll()->'Cancel'
// maybe we need something like 'bool closeView()'
it->second->close();
// unregisterd by the CloseEvent
}