Fix bugs 4077 and 4086.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19293 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2007-08-03 16:09:42 +00:00
parent 1885fe5398
commit 3419382919

View File

@ -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<int> const & view_ids = pimpl_->application_->gui().viewIds();