do not unnecessarily crash on shutdown...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22070 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-12-10 22:52:59 +00:00
parent a332008ff8
commit 33967822bb

View File

@ -41,7 +41,8 @@ void MailInset::updateDialog(BufferView * bv) const
void MailInset::hideDialog() const
{
theApp()->hideDialogs(name(), &inset());
if (theApp())
theApp()->hideDialogs(name(), &inset());
}