]> git.lyx.org Git - features.git/commitdiff
WorkArea::processKeySim(): ensure that LyXFunc holds the proper LyXView.
authorAbdelrazak Younes <younes@lyx.org>
Fri, 13 Oct 2006 14:15:31 +0000 (14:15 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 13 Oct 2006 14:15:31 +0000 (14:15 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15322 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/WorkArea.C

index 55b7e15a9e56c28a59abe5f3f980478ed28f3f16..b34eaa969e0d491b3f5569b3897732a8540e1332 100644 (file)
@@ -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