From: André Pönitz Date: Mon, 10 Dec 2007 22:52:59 +0000 (+0000) Subject: do not unnecessarily crash on shutdown... X-Git-Tag: 1.6.10~6981 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=33967822bbe7290c9c40f166701be00914d006d7;p=lyx.git do not unnecessarily crash on shutdown... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22070 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/MailInset.cpp b/src/insets/MailInset.cpp index 722cbf3620..04e0d886fa 100644 --- a/src/insets/MailInset.cpp +++ b/src/insets/MailInset.cpp @@ -41,7 +41,8 @@ void MailInset::updateDialog(BufferView * bv) const void MailInset::hideDialog() const { - theApp()->hideDialogs(name(), &inset()); + if (theApp()) + theApp()->hideDialogs(name(), &inset()); }