From: Abdelrazak Younes Date: Mon, 25 Feb 2008 07:32:02 +0000 (+0000) Subject: Should Fix crash on exit. X-Git-Tag: 1.6.10~6100 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0655e4d78f6b9ecae721af12793696602b475caa;p=lyx.git Should Fix crash on exit. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23218 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/LyXFunc.cpp b/src/LyXFunc.cpp index 84bb7b85cd..294d502ce2 100644 --- a/src/LyXFunc.cpp +++ b/src/LyXFunc.cpp @@ -370,6 +370,8 @@ void LyXFunc::processKeySym(KeySymbol const & keysym, KeyModifier state) } } else { dispatch(func); + if (!lyx_view_) + return; if (func.action == LFUN_CHAR_DELETE_BACKWARD) // backspace is not a self-insertion. But it // still should not hide the completion popup.