From 0655e4d78f6b9ecae721af12793696602b475caa Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 25 Feb 2008 07:32:02 +0000 Subject: [PATCH] Should Fix crash on exit. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23218 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXFunc.cpp | 2 ++ 1 file changed, 2 insertions(+) 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. -- 2.39.2