another safe guard.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19134 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-07-19 09:12:34 +00:00
parent 25fc4d091a
commit a3abe11974

View File

@ -364,7 +364,7 @@ void LyX::setGuiLanguage(std::string const & language)
Buffer const * const LyX::updateInset(Inset const * inset) const
{
if (!inset)
if (quitting || !inset)
return 0;
Buffer const * buffer_ptr = 0;