From: Abdelrazak Younes Date: Thu, 19 Jul 2007 09:12:34 +0000 (+0000) Subject: another safe guard. X-Git-Tag: 1.6.10~9099 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a3abe11974e0b497d48359083d26b601f236795c;p=features.git another safe guard. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19134 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/LyX.cpp b/src/LyX.cpp index d77ffa30f3..56728e3233 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -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;