Should Fix crash on exit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23218 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-02-25 07:32:02 +00:00
parent ff2e0db6c2
commit 0655e4d78f

View File

@ -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.