]> git.lyx.org Git - features.git/blobdiff - src/frontends/WorkArea.C
WorkArea::processKeySim(): ensure that LyXFunc holds the proper LyXView.
[features.git] / 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