mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
5a68c1c0f3
commit
91abd65a92
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user