Obvious crash-fix introduced by 19094.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19132 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-07-19 07:24:21 +00:00
parent cdb91bc50b
commit ad91d27c28

View File

@ -383,6 +383,9 @@ Buffer const * const LyX::updateInset(Inset const * inset) const
void LyX::hideDialogs(std::string const & name, Inset * inset) const
{
if (quitting)
return;
vector<int> const & view_ids = pimpl_->application_->gui().viewIds();
vector<int>::const_iterator it = view_ids.begin();
vector<int>::const_iterator const end = view_ids.end();