From: Abdelrazak Younes Date: Fri, 13 Oct 2006 14:15:31 +0000 (+0000) Subject: WorkArea::processKeySim(): ensure that LyXFunc holds the proper LyXView. X-Git-Tag: 1.6.10~12394 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1271f473f040c0a835cbc0d3a56ee8d9c62ff9f1;p=features.git WorkArea::processKeySim(): ensure that LyXFunc holds the proper LyXView. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15322 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/WorkArea.C b/src/frontends/WorkArea.C index 55b7e15a9e..b34eaa969e 100644 --- a/src/frontends/WorkArea.C +++ b/src/frontends/WorkArea.C @@ -233,6 +233,8 @@ void WorkArea::processKeySym(LyXKeySymPtr key, key_modifier::state state) { hideCursor(); + + theLyXFunc().setLyXView(&lyx_view_); theLyXFunc().processKeySym(key, state); /* This is perhaps a bit of a hack. When we move