]> git.lyx.org Git - features.git/commitdiff
another safe guard.
authorAbdelrazak Younes <younes@lyx.org>
Thu, 19 Jul 2007 09:12:34 +0000 (09:12 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 19 Jul 2007 09:12:34 +0000 (09:12 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19134 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyX.cpp

index d77ffa30f3e64cd165abda25a0b9b4e5a8321569..56728e32332e4a8ada30a5089219f5525a640a2e 100644 (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;