From 34193829192e050aeb069d45849eb5b2018b395c Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Fri, 3 Aug 2007 16:09:42 +0000 Subject: [PATCH] Fix bugs 4077 and 4086. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19293 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LyX.cpp b/src/LyX.cpp index 56728e3233..9a13452855 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -383,7 +383,7 @@ Buffer const * const LyX::updateInset(Inset const * inset) const void LyX::hideDialogs(std::string const & name, Inset * inset) const { - if (quitting) + if (quitting || !use_gui) return; vector const & view_ids = pimpl_->application_->gui().viewIds();